This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Odd behavior with souce files
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: David Relson <relson at osagesoftware dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 11 Dec 2001 10:13:11 +0200 (IST)
- Subject: Re: Odd behavior with souce files
On Mon, 10 Dec 2001, David Relson wrote:
> Sounds like you're using "step" when you should be using "next" ...
Using `next' is not always convenient, especially if you don't know
where the program goes awry. To use `next', you need to mentally
parse every line, find out whether it involves a function call (might
not be easy, what with all the macros lying around), and decide
whether this is a library function or your own function. That's a lot
of thinking about secondary problems when your mind should concentrate
on finding bugs.