User forums > Using Code::Blocks

Debugging wxString with 2.9.1 library

(1/1)

didierdesie:
Hi,

My debugger cannot watch wxString.
With wxWidget 2.8.12 it's ok, but with wxWidget 2.9.1 it cannot see the value.

I'm under windows XP, using codeblock 10.05 with mingw, gdb 6.8.

Do you know this problem ?

oBFusCATed:
Yes, the guts of wxString have changed, so the pretty printers are broken.

There are two solutions:
1. update gdb to 7.x + python support, install wxString python printers and disable C::B's internal pretty printer scripts (search the forum for details)
2. modify the C::B's internal pretty printer scripts for wxString (search the wiki.codeblocks.org for details)

Navigation

[0] Message Index

Go to full version