Author Topic: debugger isn't working  (Read 3458 times)

purth

  • Guest
debugger isn't working
« on: July 18, 2006, 11:40:53 am »
I installed codeblocks last night and tried to run the debugger with the hello world programm.

it compiles perfectly but after running the debugger i get this message

Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: D:\test\
Adding source dir: D:\test\
Adding file: .\test.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 5.2.1
No source file named D:/test/main.cpp.
Program exited normally.
Debugger finished with status 0

i activated produce debugging symbols in the settings. what else do i have to set?
i am using windows and tested it with the latest two codeblocks versions.

thanks in advance
purth
« Last Edit: July 18, 2006, 12:14:39 pm by purth »

Offline iw2nhl

  • Multiple posting newcomer
  • *
  • Posts: 116
  • BASIC, C, C++, Qt, bash
Re: debugger isn't working
« Reply #1 on: July 18, 2006, 01:00:15 pm »
Hi,
this bug is known, you must use a newer version of GDB.
Currently the most used seems to be 6.3-2.
You can find it here and in other sites:
http://sourceforge.net/project/showfiles.php?group_id=2435

purth

  • Guest
Re: debugger isn't working
« Reply #2 on: July 18, 2006, 05:35:34 pm »
thanks
everything works perfectly now

purth