Carl -- Perfect! That is exactly what I want. I hoped it would be
that easy. Thanks for taking the time to post the solution.
--
http://mail.python.org/mailman/listinfo/python-list
In revising pydb the code and documentation for the routine originally
described, I learn that the pdb equivalent (sort of) is called
set_trace().
However set_trace() will terminate the program when you quit the
debugger, so I've retained this routine and made a couple of
corrections -- in particu
[EMAIL PROTECTED] wrote:
> Is there a way to temporarily halt execution of a script (without using
> a debugger) and have it put you in an interactive session where you
> have access to the locals? And possibly resume? For example:
>
>
def a():
>
> ... x = 1
> ... magic_breakpoint()
>
[EMAIL PROTECTED] writes:
> Is there a way to temporarily halt execution of a script (without using
> a debugger) and have it put you in an interactive session where you
> have access to the locals?
Here's what I was able to do using the Extended Python debugger.
http://bashdb.sourceforge.net/p