local variables stop updating under wx

I have only found this to happend when using the dabo

(www.dabodev.com) framework, but it doesn’t seem to be

a problem with either wxPython or dabo.

I’m using the newest version of wxPython, and 1.0.6 of

winpdb.

import dabo

app = dabo.dApp()

app.setup()

dabo.ui.dLabel(app.MainForm, label="local variables are

gone")

app.start()

In wx._core.py this is where the debugger ‘crashes’:

def PostCreate(self, pre):

“”"

Phase 3 of the 2-phase create <wink!>

Call this method after precreating the window

with the 2-phase create method.

“”"

self.this = pre.this #this line causes local

variables not to update anymore!

(… snip)

Stack:

_core.py 10169 PostCreate

dPemMixin.py 152 init

dFormMixin.py 57 init

dFormMain.py 13 init

dFormMain.py 94 init

uiApp.py 175 setup

dApp.py 228 initUIApp

dApp.py 217 setup

problem.py 4 ?

Simen Haugen wrote:

I have only found this to happend when using the dabo
(www.dabodev.com) framework, but it doesn't seem to be
a problem with either wxPython or dabo.
I'm using the newest version of wxPython, and 1.0.6 of
winpdb.

<code>
import dabo

app = dabo.dApp()
app.setup()

dabo.ui.dLabel(app.MainForm, label="local variables are
gone")

app.start()
</code>

In wx._core.py this is where the debugger 'crashes':

def PostCreate(self, pre):
"""
Phase 3 of the 2-phase create <wink!>
Call this method after precreating the window
with the 2-phase create method.
"""
self.this = pre.this #this line causes local
variables not to update anymore!

Weird. Does it happen with other Python debuggers? Do they stop updating at all for the rest of the run of the program or is it just temporary? Have you asked the winpdb folks about it?

···

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

I haven't tried other debuggers (eclipse - pydev's debugger doesn't work
with the dabo framework at all - causes a wx crash).

I have submittet this to winpdb's tracker, but nobody has looked at it
yet.

-Simen

···

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: 24. juni 2006 00:36
To: wxPython-users@lists.wxwidgets.org
Subject: Re: [wxPython-users] local variables stop updating under wx

Simen Haugen wrote:

I have only found this to happend when using the dabo
(www.dabodev.com) framework, but it doesn't seem to be
a problem with either wxPython or dabo.
I'm using the newest version of wxPython, and 1.0.6 of
winpdb.

<code>
import dabo

app = dabo.dApp()
app.setup()

dabo.ui.dLabel(app.MainForm, label="local variables are
gone")

app.start()
</code>

In wx._core.py this is where the debugger 'crashes':

def PostCreate(self, pre):
"""
Phase 3 of the 2-phase create <wink!>
Call this method after precreating the window
with the 2-phase create method.
"""
self.this = pre.this #this line causes local
variables not to update anymore!

Weird. Does it happen with other Python debuggers? Do they stop
updating at all for the rest of the run of the program or is it just
temporary? Have you asked the winpdb folks about it?

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

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