User forums > Using Code::Blocks
problems with gdb
undofen:
I've got problems with the debuger, when I set a break point, the debuger passes it without stopping and displays:
--- Code: ---tbreak /home/undofen/c++/sudoku/sudoku.cpp:
Function "" not defined.
Breakpoint 1 (/home/undofen/c++/sudoku/sudoku.cpp:) pending.
--- End code ---
The second problem is, can I give some intput to a debugged program ? I had the same problem with Kdevelop, and they added a option for the debugger to open a seperate window for input/output, is this possible with C::B ?
wuxian610:
Hi, my friend:
I had the same problem as you, and it haven't been solved by now~
If you get a way, could you please tell me here? Thank you very much!
yours
mandrav:
This has been noticed when using MSW2.6.2/unicode.
I have started another topic on this issue. Basically when streaming numbers to wxString, it doesn't work with MSW2.6.2/unicode. I don't know why and I haven't got any useful replies to that by anyone...
--- Code: ---wxString str;
str << _T("Hi"); // ok
str << 5; // *not* ok; 5 is not appended to str
--- End code ---
MortenMacFly:
--- Quote from: mandrav on December 02, 2005, 10:54:27 am ---
--- Code: ---wxString str;
str << _T("Hi"); // ok
str << 5; // *not* ok; 5 is not appended to str
--- End code ---
--- End quote ---
Just curious, but does this work-around work?:
--- Code: ---wxString str;
str << "Hi" << 5;
wxString str_new(_T(str));
--- End code ---
(I cannot test it at the moment since I am at work.)
Morten.
Ps.: Sorry for the post not belonging in here but where is the original post with this request?
mandrav:
--- Quote from: MortenMacFly on December 02, 2005, 11:15:57 am ---Ps.: Sorry for the post not belonging in here but where is the original post with this request?
--- End quote ---
It's here: http://forums.codeblocks.org/index.php?topic=1459.0
Navigation
[0] Message Index
[#] Next page
Go to full version