profile.runctx(command, globals, locals, filename=None) This function is similar to run(), with added arguments
get_breaks(filename, lineno) Return all breakpoints for lineno in filename, or an empty list if none are set
strip_dirs() This method for the Stats class removes all leading path information from file names. It is very useful
set_trace() See the documentation for the functions explained above.
disable() Mark the breakpoint as disabled.
print_stats(sort=-1) Create a Stats object based on the current profile and print the results to stdout.
clear_break(filename, lineno) Delete the breakpoints in filename and lineno. If none were set, an error message
tracemalloc.clear_traces() Clear traces of memory blocks allocated by Python. See also stop()
break_here(frame) This method checks if there is a breakpoint in the filename and line belonging to frame or, at least
runeval(expression, globals=None, locals=None) runcall(function, *args, **kwds) set_trace()
Page 1 of 15