This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]