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
tracemalloc.Traceback.format()
  • References/Python/Python/Debugging & Profiling

format(limit=None) Format the traceback as a list of lines with newlines. Use the

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

tracemalloc.get_traced_memory() Get the current size and peak size of memory blocks traced by the tracemalloc module

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

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

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

user_exception(frame, exc_info) This method is called from dispatch_exception() when stop_here() yields

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

runctx(cmd, globals, locals) For backwards compatibility. Calls the run() method.

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