On Jun 5, 2006, at 5:01 PM, Alex Tweedly wrote:
I have a simple form (one button, one text field). The button has
some code in its "OnHit" handler, and I'd like to put a breakpoint
in the middle of it. The temp .py file doesn't (afaict) contain the
code that I put into the handler, so the line where I want to break
at still isn't anywhere visible.
Whatever you put in the code will be in the temp file.
dabo.trace() seems to run Pdb
Yes.
- which may or may not be a fine debugger, but I really wanted to
use (for example) the WingIDE debugger which I'm familiar with, and
I wanted to insert breakpoints, watched variables, etc. which (I
think) means I need visibility into the code within the handlers.
Well, we would love to use Wing, but unfortunately it is proprietary
and thus not compatible with integration into Dabo. But from what
you're describing, Wing doesn't put breakpoints in the code; it marks
internally "Line NN of file XX.py"; that breakpoint never is put into
the code. IOW, if you saved the file, there's nothing in there to
indicate that there is any breakpoint.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users