dump_stats(filename) Write the results of the current profile to filename.
break_anywhere(frame) This method checks if there is a breakpoint in the filename of the current frame.
faulthandler.dump_traceback_later(timeout, repeat=False, file=sys.stderr, exit=False) Dump the tracebacks of all threads, after
size Size of the memory block in bytes (int).
set_break(filename, lineno, temporary=0, cond, funcname) Set a new breakpoint. If the lineno line doesn’t exist for
class tracemalloc.Frame Frame of a traceback. The Traceback class is a sequence
set_next(frame) Stop on the next line in or below the given frame.
tracemalloc.get_traceback_limit() Get the maximum number of frames stored in the traceback of a trace. The
statistics(group_by: str, cumulative: bool=False) Get statistics as a sorted list of Statistic instances grouped
count Number of memory blocks (int).
Page 5 of 15