debugging wxwindows from wxpython

Linux/GTK

I'm trying to find why data isn't being set in a dialog in wxpython. The problem is with wxwindow, so I need to see the values of some of the variables. My C++ is lacking, but I do have it pretty much pinned down to what need to look at in wxwindows. So far debuggers used only show me what I have
set for them in wxpython. Need to see what data is being passed in wxwindows though.

Have edited some of the source code, but always get stopped somewhere. I can get the address of data I want to look at, but always run into a road block trying to access the pointer address and actually look at the data.

So hoping, but not counting on, someone knowing how to do this. I have compiled wxpython and wxGTK with debug but that hasn't helped. I am figuring that this can't be done, but I have been wrong before.

Thanks

Or maybe you could post here a sample application which would it make it
more easy to help:
http://wiki.wxpython.org/index.cgi/MakingSampleApps

Stani

···

--

david wrote:

Linux/GTK

I'm trying to find why data isn't being set in a dialog in wxpython. The problem is with wxwindow, so I need to see the values of some of the variables. My C++ is lacking, but I do have it pretty much pinned down to what need to look at in wxwindows. So far debuggers used only show me what I have
set for them in wxpython. Need to see what data is being passed in wxwindows though.

Have edited some of the source code, but always get stopped somewhere. I can get the address of data I want to look at, but always run into a road block trying to access the pointer address and actually look at the data.

So hoping, but not counting on, someone knowing how to do this. I have compiled wxpython and wxGTK with debug but that hasn't helped. I am figuring that this can't be done, but I have been wrong before.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

You need a debug build of python, wxGTK, and wxPython, and you should
then be able to run it under gdb and step "around" the Python code.
Sadly, theres no debugger that can magically switch from debugging
Python code to the C/C++ code.

That said, I doubt your problem is actually in wxWindow. Like Stani
said, try to recreate it in a sample application and post here.

···

On 6/6/07, david <decibels.2862@charter.net> wrote:

Linux/GTK

I'm trying to find why data isn't being set in a dialog in wxpython. The problem is with wxwindow, so I need to see the values of some of the variables. My C++ is lacking, but I do have it pretty much pinned down to what need to look at in wxwindows. So far debuggers used only show me what I have
set for them in wxpython. Need to see what data is being passed in wxwindows though.

Have edited some of the source code, but always get stopped somewhere. I can get the address of data I want to look at, but always run into a road block trying to access the pointer address and actually look at the data.

So hoping, but not counting on, someone knowing how to do this. I have compiled wxpython and wxGTK with debug but that hasn't helped. I am figuring that this can't be done, but I have been wrong before.

david wrote:

Have edited some of the source code, but always get stopped
somewhere. I can get the address of data I want to look at, but
always run into a road block trying to access the pointer address and
actually look at the data.

So hoping, but not counting on, someone knowing how to do this. I
have compiled wxpython and wxGTK with debug but that hasn't helped.

http://wiki.wxpython.org/Debugging_wxWidgets_From_wxPython

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!