News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

problems with gdb

Started by undofen, December 02, 2005, 12:38:47 AM

Previous topic - Next topic

undofen

I've got problems with the debuger, when I set a break point, the debuger passes it without stopping and displays:tbreak /home/undofen/c++/sudoku/sudoku.cpp:
Function "" not defined.
Breakpoint 1 (/home/undofen/c++/sudoku/sudoku.cpp:) pending.

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

#1
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...


wxString str;
str << _T("Hi"); // ok
str << 5; // *not* ok; 5 is not appended to str
Be patient!
This bug will be fixed soon...

MortenMacFly

Quote from: mandrav on December 02, 2005, 10:54:27 AM

wxString str;
str << _T("Hi"); // ok
str << 5; // *not* ok; 5 is not appended to str


Just curious, but does this work-around work?:

wxString str;
str << "Hi" << 5;
wxString str_new(_T(str));


(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?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

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?

It's here: http://forums.next.codeblocks.org/index.php?topic=1459.0
Be patient!
This bug will be fixed soon...

undofen

Ok, and what about the gdb i/o console ? I found that this was unresolved about 2 months ago, from a topic on the forum here. Is there any chance for this to be added ?

mandrav

Quote from: undofen on December 02, 2005, 02:04:22 PM
Ok, and what about the gdb i/o console ? I found that this was unresolved about 2 months ago, from a topic on the forum here. Is there any chance for this to be added ?

This works in windows. I 'm still trying to make it work in other platforms.
Be patient!
This bug will be fixed soon...