Odd behavior with souce files

Eli Zaretskii eliz@is.elta.co.il
Tue Dec 11 00:13:00 GMT 2001


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.



More information about the Gdb mailing list