Author Topic: Debugger Problems  (Read 4513 times)

mhamlin

  • Guest
Debugger Problems
« on: April 02, 2006, 08:11:18 pm »
Hi, I'm trying out Code::Blocks as I get tired of gedit/scons/ddd development (just get a little tired of switching back and forth between applications).  So far the IDE is working great for me except that I'm having some debugging troubles.

I built the IDE last night from SVN, and am using GDB 6.4.  However, when I run the debugger (yes, the code is built with debugging symbols) it refuses to stop at any breakpoints; for example, it will output a message that will look something like: "No line 10 in file "Source/Main.cpp"," when there clearly is a line 10 in that file.

Solely for completeness, the debugger log is posted below:

Selecting target: default
Compiling: done
Adding source dir: /home/mhamlin/Projects/Tau/Tau/
Adding source dir: /home/mhamlin/Projects/Tau/Tau/
Changing directory to: ../Bin
Adding file: ../Bin/Tau
Starting debugger: done
Invalid debugger script: 'gdb_types.script'
Setting breakpoints
Debugger name and version: GNU gdb 6.4
No line 11 in file "Source/Main.cpp".
Program exited normally.
Debugger finished with status 0


Any advice would be appreciated,
Thank you.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Debugger Problems
« Reply #1 on: April 02, 2006, 11:23:32 pm »
Hello,

I have given the debugger a try and it works on my ubuntu 5.10. I use C::B rev2285 and GNU gdb 6.3-debian. May be you should try with gdb 6.3 and see if it works.

Best wishes,
Michael

mhamlin

  • Guest
Re: Debugger Problems
« Reply #2 on: April 03, 2006, 12:21:24 am »
Hello,

I have given the debugger a try and it works on my ubuntu 5.10. I use C::B rev2285 and GNU gdb 6.3-debian. May be you should try with gdb 6.3 and see if it works.

Best wishes,
Michael


Thanks for your quick response.  In the spirit of your reply I tried upgrading to gdb-6.4-r4 and the integrated debugger seems to be working.

Thanks again.