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
bdb.Bdb.set_quit()
  • References/Python/Python/Debugging & Profiling

set_quit() Set the quitting attribute to True. This raises BdbQuit in the next call to

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.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
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
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
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
faulthandler.register()
  • References/Python/Python/Debugging & Profiling

faulthandler.register(signum, file=sys.stderr, all_threads=True, chain=False) Register a user signal: install a handler for

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

dispatch_exception(frame, arg) If the debugger should stop at this exception, invokes the user_exception() method

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

class tracemalloc.StatisticDiff Statistic difference on memory allocations between an old and a new Snapshot instance

2025-01-10 15:47:30