Menu

Breakpoints don't break anything

adrienne
2005-06-03
2012-09-26
  • adrienne

    adrienne - 2005-06-03

    I'm trying to use the debugger so I put in some breakpoints and did a rebuild, then hit 'debug'. But nothing at all seems to happen. The breakpoints never turn blue, nor do they seem to be doing anything at all. Has anybody else encountered this?

    ab

     
    • adrienne

      adrienne - 2005-06-03

      By the way, I'm running DevCpp v. 4.9.9.2, and my compile log looks like this:

      Compiler: Default compiler
      Executing g++.exe...
      g++.exe "C:\Documents and Settings\Microscope user\My Documents\Adrienne\achan2.cpp" -o "C:\Documents and Settings\Microscope user\My Documents\Adrienne\achan2.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
      Execution terminated
      Compilation successful

      ab

       
    • Wayne Keen

      Wayne Keen - 2005-06-05

      ab,

      Your log shows that you do not have your code compiled with debugging information turned on. (The automated process where it asks you whether you want it to compile it again for you with debug information on has been unreliable since I have been around here - you need to compile it with debug information on, and optimization off yourself)

      Over in the Bloodshed Forum is a thread titled "FAQ - Please Read Before Posting A Question" - it has a getting started with the debugger section that should be helpful to you.

      Wayne

       

Log in to post a comment.