Simen Haugen wrote:
I think this is dabo related as I used winpdb to debug pure wxPython
applications before (and eclipse using pydev). None of these debuggers
work now.

This shows my problem:

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)


Self in this context is type dabo.ui.uiwx.dForm, but a a representation
shows N/A (I don't know if that's a problem).

Hmm, that is most certainly wx, not Dabo. wx needs to set self explicitly so that it has access to the underlying C++ object (or something like that).

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to