tracemalloc.StatisticDiff.count
  • References/Python/Python/Debugging & Profiling

count Number of memory blocks in the new snapshot (int): 0 if the memory blocks have been released

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

faulthandler.dump_traceback(file=sys.stderr, all_threads=True) Dump the tracebacks of all threads into file. If all_threads

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

classmethod load(filename) Load a snapshot from a file. See also dump().

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

print_stats(sort=-1) Create a Stats object based on the current profile and print the results to stdout.

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

class tracemalloc.Trace Trace of a memory block. The Snapshot.traces attribute

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

pdb.runcall(function, *args, **kwds) Call the function (a function or method object, not a string) with the given arguments

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

bdb.checkfuncname(b, frame) Check whether we should break here, depending on the way the breakpoint b was set.

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

set_return(frame) Stop when returning from the given frame.

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

bpprint(out=None) Print the output of bpformat() to the file out, or if it is None, to standard

2025-01-10 15:47:30
trace.Trace.results()
  • References/Python/Python/Debugging & Profiling

results() Return a CoverageResults object that contains the cumulative results of all previous calls to run

2025-01-10 15:47:30