bdb.Bdb.canonic()
  • References/Python/Python/Debugging & Profiling

canonic(filename) Auxiliary method for getting a filename in a canonical form, that is, as a case-normalized (on case-insensitive

2025-01-10 15:47:30
tracemalloc.take_snapshot()
  • References/Python/Python/Debugging & Profiling

tracemalloc.take_snapshot() Take a snapshot of traces of memory blocks allocated by Python. Return a new Snapshot

2025-01-10 15:47:30
bdb.Bdb.set_until()
  • References/Python/Python/Debugging & Profiling

set_until(frame) Stop when the line with the line no greater than the current one is reached or when returning from current

2025-01-10 15:47:30
tracemalloc.StatisticDiff.size_diff
  • References/Python/Python/Debugging & Profiling

size_diff Difference of total size of memory blocks in bytes between the old and the new snapshots (int): 0

2025-01-10 15:47:30
tracemalloc.Filter.all_frames
  • References/Python/Python/Debugging & Profiling

all_frames If all_frames is True, all frames of the traceback are checked. If all_frames is False

2025-01-10 15:47:30
pdb.run()
  • References/Python/Python/Debugging & Profiling

pdb.run(statement, globals=None, locals=None) Execute the statement (given as a string or a code object) under debugger

2025-01-10 15:47:30
tracemalloc.Filter
  • References/Python/Python/Debugging & Profiling

class tracemalloc.Filter(inclusive: bool, filename_pattern: str, lineno: int=None, all_frames: bool=False) Filter on traces

2025-01-10 15:47:30
bdb.Bdb.get_bpbynumber()
  • References/Python/Python/Debugging & Profiling

get_bpbynumber(arg) Return a breakpoint specified by the given number. If arg is a string, it will be converted to

2025-01-10 15:47:30
faulthandler.unregister()
  • References/Python/Python/Debugging & Profiling

faulthandler.unregister(signum) Unregister a user signal: uninstall the handler of the signum signal installed by

2025-01-10 15:47:30
bdb.Bdb.set_trace()
  • References/Python/Python/Debugging & Profiling

set_trace([frame]) Start debugging from frame. If frame is not specified, debugging starts from caller’s frame

2025-01-10 15:47:30