News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

GDB Debugging

Started by maestroh, October 26, 2006, 04:39:45 PM

Previous topic - Next topic

maestroh

I installed codeblocks from the October 23 nightly build, and I'm having problems getting the GDB debugger breakpoints to work. I can place a breakpoint, but the debugger doesn't stop at the breakpoint when I run my code. I'm sure there is a simple solution to this that I'm overlooking.

I installed the rc2 release and its breakpoints seem to work, so I thought that the problem may be in the plugins that come with the nightly build. So I went and looked in the plugin manager from the nightly build release and compared it to the rc2 release and found that the debuger dlls are different. The nightly build release has the debugger.dll while the rc2 release has the gdbdebugger.dll. Could this be the problem?

Thanks for you help!

killerbot

debugger dll did change name, so that's ok.

Your projects is set to use debug info (-g) ??

MortenMacFly

Quote from: maestroh on October 26, 2006, 04:39:45 PM
I installed codeblocks from the October 23 nightly build, and I'm having problems getting the GDB debugger breakpoints to work.
Never-Ever over install a nightly above RC2. If you did that, you are in trouble. Otherwise please have a look at the debugger section in the WiKi (see my sig).
With regards, Morten.
Ps.: You could also search the forum on that topic - there is plenty of information already available.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

maestroh

Yeah! That was it Morten. I appreciate both your comments. I searched both the forum and the wiki and I couldn't find what I needed, but it was right under my nose apparently.

Thanks again.