Stop and go - two Python(Win) questions
Mark Hammond
mhammond at skippinet.com.au
Wed Jan 16 22:27:49 EST 2002
Martin Bless wrote:
> (2) Is there a way to include a stable and static breakpoint in Python
> SOURCE while debugging, something like a "suspend" command, that make
> introspection and a resume possible?
For the Pythonwin debugger, you can add:
import pywin.debugger
pywin.debugger.brk()
This should work from almost any Python script.
Mark.
More information about the Python-list
mailing list