bourd@loach.cps.msu.edu (Robert Bourdeau) (06/07/91)
I am using g++ for a small scale project right now, and am trying
to isolate a particularly annoying bug. As far as I can tell, gdb
is about the only debugger that works with g++.
The project I am working on consists of many source files, and the bug
is occuring somewhere other than the main.
QUESTION:
HOW DO YOU SET BREAKPOINTS IN MULTIPLE FILES?
This program, consists of about 5000 lines of my code, so I don't want
to step
through it. I am also using X-Window in the program, and when the error
occurs,
X exits the program. Because of this, gdb can not give me the current
stack frame,
a backtrace, or the values of any variables, everything is freed up.
HELP, before I go crazy!!
--- Robert Bourdeau
--- bourd@cps.msu.edu
--- Department of Computer Science
--- Michigan State University