User forums > General (but related to Code::Blocks)

How to watch wxString under OSX from CodeBlocks and GDB ?

(1/3) > >>

eranon:
Hello. Talking about a wxWidgets-based project, under Windows, I use the well known pretty printing Python script for wxWidgets, but what about OSX ? I'm under OS X 10.6.8 and the GDB installed (I suppose coming with XCode 4) seems to be not python-enabled. Does it exist a python-enabled GDB under OSX ? Or is there another way to easily watch wxString values ?

oBFusCATed:
You can try the "Enable watch script" option, but it won't work for wx2.9.

eranon:
Aaargh :-\ Thanks obfuscated, but my project is linked with wxWidgets 2.9.4.

oBFusCATed:

--- Quote from: eranon on February 15, 2013, 03:43:36 pm ---Aaargh :-\ Thanks obfuscated, but my project is linked with wxWidgets 2.9.4.

--- End quote ---
Then you'll have to modify the script or you'll have to find a python enabled gdb.

eranon:

--- Quote from: oBFusCATed on February 15, 2013, 03:44:52 pm ---Then you'll have to modify the script.
--- End quote ---
Where is it ? In what language ? What's this difference between wx 2.8 and 2.9 that broken the mechanism ? I guess it's not a simple matter of data format coming from wxWidgets data classes.


--- Quote from: oBFusCATed on February 15, 2013, 03:44:52 pm ---Or you'll have to find a python enabled gdb
--- End quote ---
It would be the easiest and quickest, of course. Do you know one ?

Navigation

[0] Message Index

[#] Next page

Go to full version