Hi, I have a program (very ambitiously) called fastSVM, which depends on 2 other projects:
fastSVM <- libPMT <- libFFTW
I have compiled the Debug builds of these projects (from left to right),
all with Build Options -> Compiler settings -> Compiler flags
[v] Produce debugging symbols [-g]
[ ]
[ ]
[ ]
[v] Enable all compiler warnings (override most other settings) [-Wall]
[ ]
...
-- those two are ticked, and no other.
When I debug with a breakpoint on the 1st line of the main program, the Debugger window says:
>>
Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Release
Adding source dir: /esa/data-amwink/software/cpp/pmtprojects/fastSVM/
Adding source dir: /esa/data-amwink/software/cpp/pmtprojects/fastSVM/
Adding file: bin/Release/fastSVM
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 (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
<<
But when I do 'next line' or 'step into' I immediately get
>>
The program is not being run.
Debugger finished with status 0
<<
Do I need to change the setup of Code::Blocks? Do I need to install debugging packages (other than gdb)?
Not having used the debugger for a while (couple of months) it has changed from working to not working...
Happy to send more info if that's helpful.
Any ideas?
Thanks!