print_stats(*restrictions) This method for the Stats class prints out a report as described in the profile
runctx(cmd, globals, locals) Profile the cmd via
runcall(func, *args, **kwds) Debug a single function call, and return its result.
do_clear(arg) Handle how a breakpoint must be removed when it is a temporary one. This method
faulthandler.register(signum, file=sys.stderr, all_threads=True, chain=False) Register a user signal: install a handler for
run(cmd) Execute the command and gather statistics from the execution with the current tracing parameters. cmd must
class tracemalloc.StatisticDiff Statistic difference on memory allocations between an old and a new Snapshot instance
dump(filename) Write the snapshot into a file. Use load() to reload the snapshot
set_continue() Stop only at breakpoints or when finished. If there are no breakpoints, set the system trace function to None
dispatch_exception(frame, arg) If the debugger should stop at this exception, invokes the user_exception() method
Page 8 of 15