Re: [Dev-C++] Debugging with 4.9.4.1
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Mac R. <re...@no...> - 2002-07-05 15:44:37
|
I hate to ask again, but I'm about to get sent off on a business trip and I would like to play with Dev-C++ during some of the sleepless hours between the end of official business and when I am able to get to sleep. Why don't breakpoints seem to work in 4.9.4.1? I have turned on debugging myself (first project), and I have also allowed the IDE to turn on debugging and rebuild (second project, when I pressed Debug on a non-debuggable build). I get exactly the same results in both cases. In both cases, the breakpoints are claimed to be invalid, and the debugger terminates the program. Mac At 02:00 PM 7/4/02 -0500, Mac Reiter wrote: >I just installed Dev-C++ on a win2k box with no other c++ compiler. >Installation was to the default directory, C:\Dev-C++\. I made a new >"Windows Application" Project, and saved all the files. Then I went to >Compiler Options, selected the Linker tab, and checked the bold blue line >for including debugging information. I did a Rebuild All, set a breakpoint >inside WinMain, and hit Debug. Watching the output window down at the >bottom, I got a complaint about the breakpoint being invalid. > >I have tried it with breakpoints in different places. I always get the >same result. I have tried it with different numbers of breakpoints, and it >always knows how many breakpoints I have set, but they are all claimed to >be invalid. > >The program runs properly. If I don't set any breakpoints, it even runs in >the debugger. But since I can't ever set any breakpoints, I can't get the >program to stop so that I can attempt to look at any of the variables. > >I watched the command lines being sent to the compiler, and "-g3" was >included during the compilation of main.cpp into main.o, and also during >the linking of main.o into FirstDevCpp.exe (the name of my test project). > >I feel certain that I have missed something, probably something obvious, >but I can't seem to find it in the dialogs. > >Any help would be appreciated, because the IDE is not much use to me >without the debugger. Thanks, >Mac >- > _____________________________ /"\ > Mac Reiter \ / ASCII Ribbon Campaign > Nomadics, Inc. X Against HTML Mail > re...@no... / \ (To join the campaign, simply use > this in your signature.) > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Caffeinated soap. No kidding. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > - _____________________________ /"\ Mac Reiter \ / ASCII Ribbon Campaign Nomadics, Inc. X Against HTML Mail re...@no... / \ (To join the campaign, simply use this in your signature.) |