Re: [Dev-C++] Debugger not working? 4.9.8.7 PLUS console under WinAPI... is it possible?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Emiliano <sky...@fa...> - 2004-02-16 23:15:42
|
----- Original Message ----- From: "Javier" <jm...@ug...> To: <dev...@li...> Sent: Monday, February 16, 2004 11:13 PM Subject: Re: [Dev-C++] Debugger not working? 4.9.8.7 > 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. Thank you so much!!! Now it seems to work, well, still behaves strangely, but at least the debugger starts and breakpoints work (I've noticed that the "next step" button go backwards sometimes [?]). I was sick to use "MessageBox()" to print blocking output messages... a real shame :). A different question... is there a way to open a console window when using the WinAPI? Of course simple "printf"s won't work. Windows has plenty of simple and powerful functions, but too often it lets you think it has been written for kids :))) - and by kids maybe... kind regards, Emiliano |