Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Single-stepping through a python script

Reply
Thread Tools

Single-stepping through a python script

 
 
Craig Howard
Guest
Posts: n/a
 
      07-17-2007
Hello All:

Is is possible to compile a code object and single-step through its
execution?

Craig
 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      07-17-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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python as active script <script language=python> misterdi Python 0 07-28-2009 04:30 PM
How to Machine A python script execute Machine B python script? johnny Python 5 07-11-2007 01:03 PM
Executing a python script with arguments from a python script olaufr@gmail.com Python 3 12-13-2005 02:49 AM
Adding items to listbox through java script then accessing through asp.net Brian Henry ASP .Net 5 08-03-2004 02:10 AM
executing a python script from another python script. sarmin kho Python 1 06-04-2004 01:12 PM



Advertisments