trace.Trace.runfunc()
  • References/Python/Python/Debugging & Profiling

runfunc(func, *args, **kwds) Call func with the given arguments under control of the Trace object with

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

runeval(expr, globals=None, locals=None) Debug an expression executed via the

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

run(cmd, globals=None, locals=None) Debug a statement executed via the

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

disable() Stop collecting profiling data.

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

traces Traces of all memory blocks allocated by Python: sequence of Trace instances. The

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

filter_traces(filters) Create a new Snapshot instance with a filtered traces sequence, filters

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

bdb.set_trace() Start debugging with a Bdb instance from caller’s frame.

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

count_diff Difference of number of memory blocks between the old and the new snapshots (int): 0 if

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

class profile.Profile(timer=None, timeunit=0.0, subcalls=True, builtins=True) This class is normally only used if more precise

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

print_callees(*restrictions) This method for the Stats class prints a list of all function that were called by

2025-01-10 15:47:30