From: carnasaurs AT umich DOT edu (Sihan Goi) Newsgroups: comp.os.msdos.djgpp Subject: Re: Help! Debugging in RHIDE doesn't work...! Date: Sat, 07 Nov 1998 04:55:02 GMT Organization: Carnasaur's Inc. Lines: 41 Message-ID: <720jin$80q$2@denws02.mw.mediaone.net> References: <71jam6$3vc$1 AT denws02 DOT mw DOT mediaone DOT net> <363E562C DOT 61247F1E AT gmx DOT net> <71m99l$a7d$1 AT denws02 DOT mw DOT mediaone DOT net> <363F93F3 DOT 99F017D7 AT gmx DOT net> <71r9mf$26c$1 AT denws02 DOT mw DOT mediaone DOT net> <3642377A DOT 5E021862 AT gmx DOT net> <71t80v$luv$1 AT denws02 DOT mw DOT mediaone DOT net> <3643A6AF DOT 1CC3BF8B AT gmx DOT net> NNTP-Posting-Host: nic-c12-056.mw.mediaone.net X-Newsreader: News Xpress 2.01 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <3643A6AF DOT 1CC3BF8B AT gmx DOT net>, Robert Hoehne wrote: >Sihan Goi wrote : >> >> Then, I went back to open my proj2.gpr and the problem came back >> again. It >> just keeps displaying the error message "This program has no usable >> debugging >> information. Try to compile it with the -g switch". >> I totally have no idea why this should be, since normal .cpp files >> could be >> debugged, another project file could also be debugged, but this one >> just >> wouldn't let me...any ideas? > >Probably you have set something manually in the project >which you don't know or can't find. Please open the project >and select from the menu Project/Write Makefile and then >post the generated makefile proj2.mak. You're very right, indeed its something within my project file proj2.gpr that was disallowing me from debugging the main program. I tried deleting all the project files and creating a new one with the same cpp files, and this time debugging works... However, I still don't know what was wrong with my old project file though... Anyway, since debugging is working now, can anyone tell me how I can inspect individual/multiple variables within RHIDE when I'm stepping though my program? The Borland C IDE has an "Inspect" field in the "Debug" menu, but apparently RHIDE doesn't. Can RHIDE inspect variables? Can it also inspect what a pointer is pointing to if the variable is a pointer? Thanks again! ciao! ------------------------------------------------------------ Sihan Goi Webmaster, The Midi Kingdom/The Carnasaur Kingdom email : carnasaur AT umich DOT edu Midi Kingdom: http://www.umich.edu/~sgoi Carnasaur Kingdom: http://www-personal.engin.umich.edu/~sgoi ------------------------------------------------------------