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

clear_all_breaks() Delete all existing breakpoints.

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

runctx(cmd, globals, locals) Profile the cmd via

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

do_clear(arg) Handle how a breakpoint must be removed when it is a temporary one. This method

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
pstats.Stats
  • References/Python/Python/Debugging & Profiling

class pstats.Stats(*filenames or profile, stream=sys.stdout) This class constructor creates an instance of a “statistics object”

2025-01-10 15:47:30