User forums > Using Code::Blocks

Debugging QString

<< < (5/7) > >>

LordCB:
Thanks but I get an


--- Code: ---
Undefined command: "printqstring".  Try "help".
Undefined command: "printqstring".  Try "help".

--- End code ---

oBFusCATed:
The source command has failed...
Try to execute it from the command field, try different paths. Spaces in the path may cause problems (just a suggestion)

Jenna:
if you really use "source:" as posted before, that's the cause.
No colon after the post (except for the one in the drive letter).

LordCB:
Ok,

now I get this.


--- Code: ---Attempt to extract a component of a value that is not a structure.

--- End code ---

oBFusCATed:
I think this's a gdb problem cause by the use of "source stl-views-1.0.3.script".
In the wxpropgrid_debugger branch I've implemented a workaround by calling "whatis &{watched_var}" instead of "whatis {watched_var}", when the plugin wants to understand the type of the watched variable.

The same problem happens when one tries to watch "const wxString &str"...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version