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

pdb.pm() Enter post-mortem debugging of the traceback found in

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

profile.runctx(command, globals, locals, filename=None) This function is similar to run(), with added arguments

2025-01-10 15:47:30
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
tracemalloc.stop()
  • References/Python/Python/Debugging & Profiling

tracemalloc.stop() Stop tracing Python memory allocations: uninstall hooks on Python memory allocators. Also clears all previously

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