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

stop_here(frame) This method checks if the frame is somewhere below botframe in the call stack. botframe

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

faulthandler.is_enabled() Check if the fault handler is enabled.

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

runcall(func, *args, **kwargs) Profile func(*args, **kwargs)

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

pdb.set_trace() Enter the debugger at the calling stack frame. This is useful to hard-code a breakpoint at a given point in

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

run(statement, globals=None, locals=None) runeval(expression, globals=None, locals=None) runcall(function

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

class tracemalloc.Snapshot Snapshot of traces of memory blocks allocated by Python. The

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

class tracemalloc.Statistic Statistic on memory allocations. Snapshot.statistics()

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

create_stats() Stop collecting profiling data and record the results internally as the current profile.

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

class trace.Trace(count=1, trace=1, countfuncs=0, countcallers=0, ignoremods=(), ignoredirs=(), infile=None, outfile=None, timing=False)

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

runcall(function, *args, **kwds) set_trace() See the documentation for the functions explained above.

2025-01-10 15:47:30