[wingide-users] embedded debugging problem
support at wingware.com
Thu Nov 15 10:47:16 MST 2007
Adam Pletcher wrote:
> I have an MFC app using embedded Python (2.5.1). I have Wing listening
> for remote debugging, and it brings up the debugger when my script
> crashes, but only the first time it happens. If I hit Stop it goes back
> to listening, but fails to catch errors/breakpoints from additional runs
> of that same script, or similar ones.
> If I restart my MFC app, however, it catches the first execution again.
> Is there something in my app or Wing's config I need to do to get it to
> catch subsequent debug events in that same app session?
> I searched the help/list archives but didn't come up with anything on
> this, but I'm a Wing IDE noob.
> Suggestions appreciated.
You need to set kEmbedded=1 inside wingdbstub.py (it's 0 by default). If
that doesn't help, please let us know.
Wingware | Python IDE
Advancing Software Development
More information about the wingide-users