runcall(func, *args, **kwds) Debug a single function call, and return its result.
class pstats.Stats(*filenames or profile, stream=sys.stdout) This class constructor creates an instance of a “statistics object”
runctx(cmd, globals, locals) Profile the cmd via
clear_all_breaks() Delete all existing breakpoints.
get_file_breaks(filename) Return all breakpoints in filename, or an empty list if none are set.
set_trace([frame]) Start debugging from frame. If frame is not specified, debugging starts from caller’s frame
pdb.runeval(expression, globals=None, locals=None) Evaluate the expression (given as a string or a code object) under
run(cmd) Execute the command and gather statistics from the execution with the current tracing parameters. cmd must
set_until(frame) Stop when the line with the line no greater than the current one is reached or when returning from current
all_frames If all_frames is True, all frames of the traceback are checked. If all_frames is False
Page 7 of 15