User forums > Using Code::Blocks

C::B wxString & GDB

<< < (2/2)

Pecan:

--- Quote from: uenz on October 07, 2006, 06:59:48 pm ---Thanks for your fast response although my question was not complete.
I use only C:B to ddebug, but without success. Here is a Screenshot of my watchwindow:


--- End quote ---

Right click on the variable. It will add an entry into the context menu like "watch variablename". Click on that and you'll be able to see the string.

uenz:
Hi Pecan,

thanks for your patience! I looked in all settings parameter instead of adding the variable to the watch by my own, because with all other types (int,float..) in Local Variables i was fine.
Thank you very much, for the solution!

thx
uenz

Pecan:
This may be a bug. I'm not sure.

mandrav:

--- Quote from: Pecan on October 08, 2006, 03:49:11 am ---This may be a bug. I'm not sure.

--- End quote ---

It's not a bug. The local vars and function args are returned by gdb automatically. We have no control over how they 're displayed.
Manually set watches (and tooltips) on the other hand, we can display them in any format we like...

Navigation

[0] Message Index

[*] Previous page

Go to full version