tracemalloc.is_tracing()
  • References/Python/Python/Debugging & Profiling

tracemalloc.is_tracing() True if the tracemalloc module is tracing Python memory allocations, False

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

class pdb.Pdb(completekey='tab', stdin=None, stdout=None, skip=None, nosigint=False) Pdb is the debugger class

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

trace_dispatch(frame, event, arg) This function is installed as the trace function of debugged frames. Its return value is the

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

class bdb.Bdb(skip=None) The Bdb class acts as a generic Python debugger base class. This

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

dispatch_call(frame, arg) If the debugger should stop on this function call, invoke the user_call() method (which

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

get_file_breaks(filename) Return all breakpoints in filename, or an empty list if none are set.

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

set_quit() Set the quitting attribute to True. This raises BdbQuit in the next call to

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

timeit(number=1000000) Time number executions of the main statement. This executes the setup statement once, and then

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

dump_stats(filename) Save the data loaded into the Stats object to a file named filename. The file is

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