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

dispatch_line(frame) If the debugger should stop on the current line, invoke the user_line() method (which should

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

filename_pattern Filename pattern of the filter (str).

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

faulthandler.disable() Disable the fault handler: uninstall the signal handlers installed by enable().

2025-01-10 15:47:30
timeit.Timer.repeat()
  • References/Python/Python/Debugging & Profiling

repeat(repeat=3, number=1000000) Call timeit() a few times. This is a convenience

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

tracemalloc.get_tracemalloc_memory() Get the memory usage in bytes of the tracemalloc module used to store traces

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

traceback Traceback where the memory block was allocated, Traceback instance.

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

timeit.repeat(stmt='pass', setup='pass', timer=, repeat=3, number=1000000, globals=None) Create a Timer instance

2025-01-10 15:47:30