From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: How does RHIDE debug? Date: 1 Mar 1997 06:00:00 GMT Organization: The National Capital FreeNet Lines: 38 Message-ID: <5f8gl0$bke@freenet-news.carleton.ca> References: <3316d725 DOT 2925653 AT ursa DOT smsu DOT edu> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet2.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Tony O'Bryan (aho450s AT nic DOT smsu DOT edu) writes: > On 27 Feb 1997 15:24:56 -0800, rellwood wrote: > >>I can see that RHIDE comes with some program tracing options in the Run >>menu, but how do I use these? They seem to be ghosted all the time, even >>when I turn on the -g option, which I thought would fix it. What am I >>missing? > > You have to be single-stepping (or at a breakpoint after starting your program > running). You cannot debug a program without running it. F8 will single-step > through your code, but will not trace into function calls (it will run function > calls at full speed and place you at the instruction following the called > function), F7 will single-step into function calls (provided the source is > available). There are others that you will find. Once the program is actually > executing, all the debug features are unghosted. > >>Also, does RHIDE have any sort of feature similar to WATCHES or INSPECTORS >>as Turbo C++ does? In Turbo C++'s IDE these are awesome, and it would be >>irritating if I had to shell out to GDB in order to inspect my variables, >>classes, etc. > > Look in the Debug menu (again, after your program has started). They actually unghost as soon as you compile it and have a valid .exe, I think. One thing I would like to see is an option to run from wherever it is to the next breakpoint. If it stops at a breakpoint, it seems the choices are, single step of some sort, or rerun from scratch using Run. -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh