Author Topic: Debugging wxString with 2.9.1 library  (Read 3019 times)

Offline didierdesie

  • Single posting newcomer
  • *
  • Posts: 2
Debugging wxString with 2.9.1 library
« on: May 12, 2011, 02:38:25 pm »
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 ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Debugging wxString with 2.9.1 library
« Reply #1 on: May 12, 2011, 02:50:39 pm »
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!]