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-17 23:03:35
|
Thanks for your info. I'm still a beginner about Windows programming, not on other systems. Regards. Emiliano ----- Original Message ----- From: "Per Westermark" <pw...@ia...> To: "Emiliano" <sky...@fa...> Cc: <dev...@li...> Sent: Tuesday, February 17, 2004 12:19 AM Subject: Re: [Dev-C++] Debugger not working? 4.9.8.7 PLUS console under WinAPI... is it possible? > If all you want is to emit trace output from your program, you can use the > OutputDebugString() function in Windows. > > This will send the debug text either to a debugger, or to a dedicated > debug log program, such as DebugView which may be downloaded from > www.sysinternals.com > > By the way - a lot of commercial programs still have a number of debug > output that may be viewed by the DebugView program. > > /Per W > > On Tue, 17 Feb 2004, Emiliano wrote: > > > > > ----- 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 > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |