count Number of memory blocks in the new snapshot (int): 0 if the memory blocks have been released
faulthandler.dump_traceback(file=sys.stderr, all_threads=True) Dump the tracebacks of all threads into file. If all_threads
classmethod load(filename) Load a snapshot from a file. See also dump().
print_stats(sort=-1) Create a Stats object based on the current profile and print the results to stdout.
class tracemalloc.Trace Trace of a memory block. The Snapshot.traces attribute
pdb.runcall(function, *args, **kwds) Call the function (a function or method object, not a string) with the given arguments
bdb.checkfuncname(b, frame) Check whether we should break here, depending on the way the breakpoint b was set.
set_return(frame) Stop when returning from the given frame.
bpprint(out=None) Print the output of bpformat() to the file out, or if it is None, to standard
results() Return a CoverageResults object that contains the cumulative results of all previous calls to run
Page 3 of 15