User forums > Nightly builds

The 17 January 2007 build is out.

<< < (2/6) > >>

Jan van den Borst:
Hi All,
Just tried this build. However I don't seem to get debugging to work(gdb). I can set breakpoints and the debugger stops there but all step, step into and other debug commands are grayed out.
kind regards
Jan

killerbot:
I even can have no breakpoints at all  :shock: :shock:

the code (console app) [tested on linux]

--- Code: ---#include <iostream>

int main()
{
std::cout << "Hello world!" << std::endl;
return 0;
}

--- End code ---
putting the breakpoint on the cout line.

Start debug :

--- Quote ---Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: /home/killerbot/Documents/CbProjects/Delete Me/
Adding source dir: /home/killerbot/Documents/CbProjects/Delete Me/
Adding file: ./Delete Me
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 6.5
Program exited normally.
Debugger finished with status 0

--- End quote ---

killerbot:
tried it also with a project with no spaces in the path (so that's not the cause), same issue :


--- Quote ---Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: /home/killerbot/Documents/CbProjects/DeleteMe2/
Adding source dir: /home/killerbot/Documents/CbProjects/DeleteMe2/
Adding file: ./DeleteMe2
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 6.5
Program exited normally.
Debugger finished with status 0

--- End quote ---

killerbot:
I would suggest not to download this nightly because of the debugging issue.

MortenMacFly:
I realised that, too. Here is some information:
The fix for he gdb BP bug that we intended to fix was that the compiler is provided the full filenames. Now the debugger in it's "break" statement is still provided the absolute filenames thus (because this doesn't match) it won't work. To fix that we have to provide the gdb "break" statement with the full path as well... IMHO... hopefully Yiannis agrees on that... Yiannis? ;-)
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version