Author Topic: problems with gdb  (Read 8138 times)

undofen

  • Guest
problems with gdb
« on: December 02, 2005, 12:38:47 am »
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.
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

  • Guest
Re: problems with gdb
« Reply #1 on: December 02, 2005, 03:29:11 am »
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
« Last Edit: December 02, 2005, 03:58:51 am by wuxian610 »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: problems with gdb
« Reply #2 on: December 02, 2005, 10:54:27 am »
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
Be patient!
This bug will be fixed soon...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: problems with gdb
« Reply #3 on: December 02, 2005, 11:15:57 am »
Code
wxString str;
str << _T("Hi"); // ok
str << 5; // *not* ok; 5 is not appended to str

Just curious, but does this work-around work?:
Code
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: problems with gdb
« Reply #4 on: December 02, 2005, 11:53:49 am »
Ps.: Sorry for the post not belonging in here but where is the original post with this request?

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

undofen

  • Guest
Re: problems with gdb
« Reply #5 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 ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: problems with gdb
« Reply #6 on: December 02, 2005, 02:31:11 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...