News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Debugging wxString with 2.9.1 library

Started by didierdesie, May 12, 2011, 02:38:25 PM

Previous topic - Next topic

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)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]