bdb.set_trace()
  • References/Python/Python/Debugging & Profiling

bdb.set_trace() Start debugging with a Bdb instance from caller’s frame.

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

class profile.Profile(timer=None, timeunit=0.0, subcalls=True, builtins=True) This class is normally only used if more precise

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

tracemalloc.start(nframe: int=1) Start tracing Python memory allocations: install hooks on Python memory allocators. Collected

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

tracemalloc.get_object_traceback(obj) Get the traceback where the Python object obj was allocated. Return a Traceback

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

filter_traces(filters) Create a new Snapshot instance with a filtered traces sequence, filters

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

count_diff Difference of number of memory blocks between the old and the new snapshots (int): 0 if

2025-01-10 15:47:30
trace.Trace.runctx()
  • References/Python/Python/Debugging & Profiling

runctx(cmd, globals=None, locals=None) Execute the command and gather statistics from the execution with the current tracing

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

traces Traces of all memory blocks allocated by Python: sequence of Trace instances. The

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

exception bdb.BdbQuit Exception raised by the Bdb class for quitting the debugger.

2025-01-10 15:47:30
pstats.Stats.print_callees()
  • References/Python/Python/Debugging & Profiling

print_callees(*restrictions) This method for the Stats class prints a list of all function that were called by

2025-01-10 15:47:30