Single-stepping through a python script

Discussion in 'Python' started by Craig Howard, Jul 17, 2007.

  1. Craig Howard

    Craig Howard Guest

    Hello All:

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

    Craig
     
    Craig Howard, Jul 17, 2007
    #1
    1. Advertising

  2. 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
     
    Diez B. Roggisch, Jul 17, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stephen Noronha

    Stepping through Code in ASP.NET

    Stephen Noronha, Sep 13, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    411
    Hans Kesting
    Sep 14, 2005
  2. Fernando Rodríguez

    Stepping through a multithreaded program

    Fernando Rodríguez, Sep 4, 2004, in forum: Python
    Replies:
    0
    Views:
    355
    Fernando Rodríguez
    Sep 4, 2004
  3. Craig Howard

    Single-stepping through a python script

    Craig Howard, Jul 18, 2007, in forum: Python
    Replies:
    2
    Views:
    1,252
    Diez B. Roggisch
    Jul 18, 2007
  4. Les Caudle
    Replies:
    1
    Views:
    128
    Dominick Baier [DevelopMentor]
    Jun 2, 2005
  5. Replies:
    0
    Views:
    150
Loading...

Share This Page