Code::Blocks Forums

User forums => Help => Topic started by: maestroh on October 26, 2006, 04:39:45 pm

Title: GDB Debugging
Post by: 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. 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!
Title: Re: GDB Debugging
Post by: killerbot on October 26, 2006, 04:53:15 pm
debugger dll did change name, so that's ok.

Your projects is set to use debug info (-g) ??
Title: Re: GDB Debugging
Post by: MortenMacFly on October 26, 2006, 06:07:37 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.
Title: Re: GDB Debugging
Post by: maestroh on October 27, 2006, 01:02:59 am
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.