debugging while running a GUI app

Hello..

Well I know that this is not a WX question per se but i just want to read some recommendations about my problem..

am working on a program (wxpython GUI) and am having a really nasty bug. I have wasted the entire day trying to figure out the problem but the sqlite error msg that am getting doesnt help..

the question is, how can i debug a GUI app while running? i want to track down the variable attributes and method while running the GUI..

right now am working with netbeans and the debbuger doesnt help me..

This may not be exactly the sort of answer you're looking for ...

I'm spending my days writing and debugging a wx app. I use WingWare IDE Pro. The integrated debugger works very well with wxPy GUI apps. You can download a free trial of the Pro version, there's also a free version.

   Product Feature Comparison - Wing Python IDE

Michael

···

On 8/15/2010 6:08 PM, Fidel Sanchez-Bueno wrote:

Well I know that this is not a WX question per se but i just want to
read some recommendations about my problem..

am working on a program (wxpython GUI) and am having a really nasty bug.
I have wasted the entire day trying to figure out the problem but the
sqlite error msg that am getting doesnt help..

the question is, how can i debug a GUI app while running? i want to
track down the variable attributes and method while running the GUI..

Boa (Boa Constructor - wxPython GUI Builder download | SourceForge.net - might want to get the latest from cvs, has a few corrections) allows you to debug your app.

Other very useful debugging tool is:

http://wiki.wxpython.org/Widget%20Inspection%20Tool

Werner

···

On 16/08/2010 01:08, Fidel Sanchez-Bueno wrote:

Hello..

Well I know that this is not a WX question per se but i just want to read some recommendations about my problem..

am working on a program (wxpython GUI) and am having a really nasty bug. I have wasted the entire day trying to figure out the problem but the sqlite error msg that am getting doesnt help..

the question is, how can i debug a GUI app while running? i want to track down the variable attributes and method while running the GUI..

right now am working with netbeans and the debbuger doesnt help me..

thank you all for the tips!!...

El 16/08/2010 08:55 a.m., werner escribi�:

Other very useful debugging tool is:

http://wiki.wxpython.org/Widget%20Inspection%20Tool

Werner

thanks man, thats what I was looking for!!...

Fidel Sanchez-Bueno wrote:

Hello..

Well I know that this is not a WX question per se but i just want to
read some recommendations about my problem..

am working on a program (wxpython GUI) and am having a really nasty bug.
I have wasted the entire day trying to figure out the problem but the
sqlite error msg that am getting doesnt help..

the question is, how can i debug a GUI app while running? i want to
track down the variable attributes and method while running the GUI..

right now am working with netbeans and the debbuger doesnt help me..

on Windows a wx app can run seamless inside PythonWin (and its Interactive console), which you may already have installed with the win32 packages. with joint message loop and joint task/mainthread - thus just without running the app.MessageLoop() of the wx app:

if 'pywin.debugger' not in sys.modules:
     app.MessageLoop()

this provides a very close interactive inspection, code completion and debugging session, pywin.debugger.pm(), pywin.debugger.set_trace(), pywin.debugger.run(...)/CtrlEnterDebugging and all.

Robert