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

profile.run(command, filename=None, sort=-1) This function takes a single argument that can be passed to the

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

clear_break(filename, lineno) Delete the breakpoints in filename and lineno. If none were set, an error message

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
tracemalloc.Filter.lineno
  • References/Python/Python/Debugging & Profiling

lineno Line number (int) of the filter. If lineno is None, the filter matches any line number

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

break_here(frame) This method checks if there is a breakpoint in the filename and line belonging to frame or, at least

2025-01-10 15:47:30