Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • The pdb module in python

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 292
    Comment on it

    The pdb module stand for Python debugger. It is used on the bdb debugger framework.
    And we can run the debugger from the command line and go to the next line and help to get a list of available commands.
    For example you can see below code.

    $pdb.py sum.py
    > /test/sum.py(3)()
    -> import dis
    (Pdb) n
    > /test/sum.py(5)()
    -> def sum():
    (Pdb) n
    >/test/sum.py(14)()
    -> dis.dis(sum)
    (Pdb) n
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: