Single-stepping through a python script

Craig Howard craig.howard at earthlink.net
Wed Jul 18 02:05:14 CEST 2007


 >>Craig Howard schrieb:
 >> Hello All:
 >>
 >> Is is possible to compile a code object and single-step through its
 >> execution?

 >import pdb; pdb.set_trace()
 >
 >Look up the pdb module documentation.
 >
 >Diez

Sorry, I didn't give enough detail. Is it possible to single-step  
through a
code object without using pdb? (Pdb uses the console which is not  
what I want.)

Craig





More information about the Python-list mailing list