terminate exectutioin in PythonWin

olsongt at verizon.net olsongt at verizon.net
Wed Apr 13 12:23:17 EDT 2005


> >
> >
> D'oh. I didn't think of that.
>
> Thanks
>
> Jim

A little off-topic, but here's a little more fun with pythonwin.  You
can spawn the debugging environment from a normal python script running
outside of pythonwin with:

import pywin.debugger;pywin.debugger.set_trace()

Also note that 'pywin.debugger.set_trace()' can be used anywhere if
you're trying to 'keep' breakpoints in the code without relying an an
IDE or project tracking them for you.




More information about the Python-list mailing list