News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

debugger does not break on breakpoint

Started by MoonKid, March 30, 2006, 06:49:22 PM

Previous topic - Next topic

MoonKid

I was using MSVC60 before.

No I am using C::B
Code::Blocks 1.0 revision 2062 Build: Feb 23 2006, 03:02:53 - wx2.6.2 (Windows, ANSI)
on Win98se with a upgraded (I hope so!) gdb-6.3.2.

There is very simple code. I set some breakpoints, but the debugger does not break on them. (start with F8). I tried "run to curser", too. There is the same behavior. The debugger does not break.

I want to run my code step by step and step into functions like I did with MSVC60. Is it possible?

Message in the debugger window...
Selecting target: default
Compiling: done
Adding source dir: E:\Garage\projekte\OctopusBackup\
Adding file: E:\Garage\projekte\OctopusBackup\OctopusBackup.exe
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3
Program exited normally.
Debugger finished with status 0

MoonKid

Quote from: MoonKid on March 30, 2006, 06:49:22 PM
There is very simple code. I set some breakpoints, but the debugger does not break on them.

Sorry for that. I does not know that the "make debug symbols" option must set explicite.