Line tracing

Rather than trace the entire program, if there is a specific portion that you want traced that can be done too, passing a list of debugger commands to debugger.

import pydb 
# some code here ...
pydb.debugger(["set linetrace on", "continue"])
# This and subsequent lines will be traced
# more code ...
pydb.debugger(["set linetrace off", "continue"])

See About this document... for information on suggesting changes.