canonic(filename) Auxiliary method for getting a filename in a canonical form, that is, as a case-normalized (on case-insensitive
tracemalloc.take_snapshot() Take a snapshot of traces of memory blocks allocated by Python. Return a new Snapshot
set_until(frame) Stop when the line with the line no greater than the current one is reached or when returning from current
size_diff Difference of total size of memory blocks in bytes between the old and the new snapshots (int): 0
all_frames If all_frames is True, all frames of the traceback are checked. If all_frames is False
pdb.run(statement, globals=None, locals=None) Execute the statement (given as a string or a code object) under debugger
class tracemalloc.Filter(inclusive: bool, filename_pattern: str, lineno: int=None, all_frames: bool=False) Filter on traces
get_bpbynumber(arg) Return a breakpoint specified by the given number. If arg is a string, it will be converted to
faulthandler.unregister(signum) Unregister a user signal: uninstall the handler of the signum signal installed by
set_trace([frame]) Start debugging from frame. If frame is not specified, debugging starts from caller’s frame
Page 7 of 15