From: Keith Seitz <keiths@cygnus.com>
To: Laurent Duperval <lduperval@microcelli5.com>
Cc: GDB Mailing List <gdb@sourceware.cygnus.com>
Subject: Re: Breaking outside of the sources
Date: Tue, 24 Apr 2001 13:48:00 -0000 [thread overview]
Message-ID: <Pine.SOL.3.91.1010424134341.2935b@ryobi.cygnus.com> (raw)
In-Reply-To: <20010424211635.469D7469AF@lenard.microcelli5.com>
On Tue, 24 Apr 2001, Laurent Duperval wrote:
> Not really. Often, breaking in system libraries doesn't provide interesting
> feedback. If I interrupt the program, most of the time I'm not interested in
> knowing that I was in poll(), select() or other sytem calls. But I am
> interested in knowing in which part of my code the poll(), select()... was
> called. Most of the time it can be done using the stacktrace but for new
> users (especially) it adds an unwanted (unneeded?) level of complexity.
Oh, I see. Well, this is part of the ropes, though. Debuggers are not
tools designed for novices. They are designed for the serious (if not
professional) programmer/engineer.
> I think (I dunno, I haven't used them in a while) that's the way MS
> debuggers work.
Hmm. Been a few months since I used VisualStudio, but I would guess that
all it does is change the debugger's stack frame. You're still in the system
call.
The only way for the debugger to stop your program outside a system
library would be for it to have a lot of intimate knowledge of the
program and all of the system libraries. It would need to step you out of the
system call, but it could not do this with, for example, any blocking
system call.
Keith
next prev parent reply other threads:[~2001-04-24 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-24 12:31 Laurent Duperval
2001-04-24 13:14 ` Keith Seitz
2001-04-24 13:39 ` Laurent Duperval
2001-04-24 13:48 ` Keith Seitz [this message]
2001-04-24 14:14 pmcgarry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SOL.3.91.1010424134341.2935b@ryobi.cygnus.com \
--to=keiths@cygnus.com \
--cc=gdb@sourceware.cygnus.com \
--cc=lduperval@microcelli5.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox