interactive program execution
Jp Calderone
exarkun at intarweb.us
Thu Feb 6 10:15:37 EST 2003
On Thu, Feb 06, 2003 at 03:44:36PM +0100, Axel Grune wrote:
> Hi, is it posible switch into the interactive mod during the execution
> of a program? For example you have a console program and you want to
> debug or test it. You execute it and at a specific point it switches
> in the interactive mod of the interpreter and you can check variables
> or call functions by hand.
This might be helpful:
import pdb
pdb.set_trace()
Jp
--
up 52 days, 19:50, 3 users, load average: 0.64, 0.57, 0.45
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030206/a5fcde0b/attachment.sig>
More information about the Python-list
mailing list