Re: [Dev-C++] Debugger not working? 4.9.8.7
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Javier <jm...@ug...> - 2004-02-16 22:17:59
|
As far as I remember that happened to me too. I recall I have read something about a bug in the gdb version shipped with Dev-Cpp 4.9.8.0. The solution was to replace the original gdb with a new version (5.2.1). You can download and install the full gdb package from www.mingw.org and then copy the gdb.exe to the Dev-Cpp\bin directory or download a zipped version of the gdb.exe (only this file is needed) from http://www-etsi2.ugr.es/depar/ccia/mp1/software.html and uncompress it in Dev-Cpp\bin. You can also find there a small Dev-Cpp instalation manual although it is in spanish only (sorry). Just backup your gdb.exe before replacing it just in case. Good luck. Javier > > ------------------------------------------------------------------------ > > Asunto: > Re: [Dev-C++] Re: Dev-cpp-users digest, Vol 1 #1887 - 11 msgs > De: > "Emiliano" <sky...@fa...> > Fecha: > Tue, 17 Feb 2004 09:19:04 +0100 > Para: > <dev...@li...> > > Para: > <dev...@li...> > > >----- Original Message ----- >From: "Jens Tusche" <Tu...@gm...> >To: <dev...@li...> >Sent: Monday, February 16, 2004 8:59 AM >Subject: [Dev-C++] Re: Dev-cpp-users digest, Vol 1 #1887 - 11 msgs > > > > >>< Subject: [Dev-C++] Debugger not working? 4.9.8.7 >>< >><As in the subject, it won't work at all on my winxp system. The project >>gets >><compiled, the debugging window is there, but no "step" button does what >> >> >it > > >><should, the step-by step execution doesn't start. In the output of gdb >> >> >I've > > >><noticed this: >>< >><frames-invalid >>< >><What is the last version with debugger know to work? >> >>This sounds like the problem that I had. It seems that the debugger must >> >> >be > > >>manually coerced to generate the necessary debug information. Somebody >> >> >told > > >>me to put a "-g3" as a parameter to the compiler options. After I'd done >> >> >this > > >>everything has been working fine. >> >> > >First of all, thank you very much for your answer. I was loosing hope on >this mailing list :) > >I've noticed that option was already present in the compiler prompt. I've >also tried to add it as you suggested, but I still get the same problem. > >this is the complete gdb output: > >(gdb) >prompt >post-prompt >breakpoints-invalid >Breakpoint 2 at 0x40169c: file main.cpp, line 202. >pre-prompt >(gdb) >prompt >post-prompt >Starting: "path/name.exe" > >Snooping with FileMonitor, I've noticed that there's an executable starting >somewhere, but then nothing happens (no steps, no window opening, and so >on...). The only effect is that debug window gets ghosted when I click twice >on "Next Step" or "Debug" itself. Everything else simply does nothing. > >Also, if I open the cpu window, it goes in "wait timeout for debug command" >error. As if the debugger is not there anymore... > >What can I do? :) > >regards >Emiliano Esposito > > > > |