News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

"No source file" when debugging

Started by dice, August 08, 2006, 03:06:30 PM

Previous topic - Next topic

dice

I cannot run in debug mode - below is the output of an attempt, gdb is incorrectly complaining that a file is not in place, if I run gdb from the command line it is seems ok (i could be wrong, I have never used gdb before), note there are no special settings under Debugger Settings - what should I look out for?

Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: C:\development\Current\scratch\tmp\
Adding source dir: C:\development\Current\scratch\tmp\
Adding file: .\tmp.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 C:/development/Current/scratch/tmp/main.cpp.
Program exited normally.
Debugger finished with status 0

killerbot

1) GDB 6.3.2
2) make sure your project/target is build with debug info on (project build options :  -g )

sethjackson

Yep you need to download GDB 6.3 otherwise debuggin won't work.....