Sane tab completion in pdb

Category: Python - Education

The Python debugger has not the bash-like tab completion that you can add to the interpreter. Fortunately pdb's interactive prompt is an instance of Cmd, so you can write our own completion function. Date: 06 February, 2012


Completion Function - Python Debugger - Debugging Script - Completion - Function - Python

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

In most languages with closures, it is possible to change a closed-over value and have the change visible in other closures which share a reference to the same variable.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This function makes it easier to use the timeit module from the interactive interpreter.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script helps you in adding new format specifiers to the logging module.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script is a simple embedded multiline python interpreter built around raw_input().

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script acts like a stepping debugger to diagnose and fix your programs.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Since Python 2.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script allows a user to place debug messages, error messages and standard messages throughout a program.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Special method __copy__ is the easiest way for an object to cooperate with the copy.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


In the factory pattern script you have an object that creates other objects.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All