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

disable() Mark the breakpoint as disabled.

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

get_break(filename, lineno) Check if there is a breakpoint for lineno of filename.

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

strip_dirs() This method for the Stats class removes all leading path information from file names. It is very useful

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

tracemalloc.clear_traces() Clear traces of memory blocks allocated by Python. See also stop()

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.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