tracemalloc.Snapshot.traceback_limit
  • References/Python/Python/Debugging & Profiling

traceback_limit Maximum number of frames stored in the traceback of traces: result of the get_traceback_limit()

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

bpprint(out=None) Print the output of bpformat() to the file out, or if it is None, to standard

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

sort_stats(*keys) This method modifies the Stats object by sorting it according to the supplied criteria. The argument

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

faulthandler.enable(file=sys.stderr, all_threads=True) Enable the fault handler: install handlers for the SIGSEGV

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

get_breaks(filename, lineno) Return all breakpoints for lineno in filename, or an empty list if none are set

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

bdb.effective(file, line, frame) Determine if there is an effective (active) breakpoint at this line of code. Return a tuple

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

clear_break(filename, lineno) Delete the breakpoints in filename and lineno. If none were set, an error message

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

pdb.pm() Enter post-mortem debugging of the traceback found in

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

runeval(expression, globals=None, locals=None) runcall(function, *args, **kwds) set_trace()

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

set_trace() See the documentation for the functions explained above.

2025-01-10 15:47:30