Author Topic: GDB Debugging  (Read 5168 times)

maestroh

  • Guest
GDB Debugging
« 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!

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: GDB Debugging
« Reply #1 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) ??

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: GDB Debugging
« Reply #2 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

maestroh

  • Guest
Re: GDB Debugging
« Reply #3 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.