From: kagel AT quasar DOT bloomberg DOT com Date: Wed, 18 Sep 1996 08:31:09 -0400 Message-Id: <9609181231.AA08837@quasar.bloomberg.com > To: eds AT hpfs1 DOT physik DOT uni-jena DOT de Cc: djgpp AT delorie DOT com In-Reply-To: <51m96f$oco@fsuj19.rz.uni-jena.de> (eds@hpfs1.physik.uni-jena.de) Subject: Re: Needed: Quick HOW-TO DEBUG Reply-To: kagel AT dg1 DOT bloomberg DOT com The gdb debugger IS a source level debugger. Just compile -g and run under gdb. You list the source with the 'list' command which prints the 11 source lines around the current execution point (once the program is running of course) the first time it is run after an execution command (like run, next, step, or continue) and the following 11 lines each additional time it is issued until the next execution. Each time you issue an execution command gdb will display the next source line to execute when the command completes. -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats