Single-stepping through a python script

Diez B. Roggisch deets at nospam.web.de
Wed Jul 18 06:17:59 EDT 2007


Craig Howard wrote:

>  >>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.)

Well, what do you want? How do you suppose to perform any interaction with a
running process if not through a window?

Diez



More information about the Python-list mailing list