timeit.timeit()
  • References/Python/Python/Debugging & Profiling

timeit.timeit(stmt='pass', setup='pass', timer=, number=1000000, globals=None) Create a Timer instance with the

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

user_return(frame, return_value) This method is called from dispatch_return() when stop_here() yields

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

deleteMe() Delete the breakpoint from the list associated to a file/line. If it is the last breakpoint in that position, it

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

set_step() Stop after one line of code.

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

get_all_breaks() Return all breakpoints that are set.

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

enable() Mark the breakpoint as enabled.

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

user_exception(frame, exc_info) This method is called from dispatch_exception() when stop_here() yields

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

print_callers(*restrictions) This method for the Stats class prints a list of all functions that called each function

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

run(cmd) Profile the cmd via

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

add(*filenames) This method of the Stats class accumulates additional profiling information into the current profiling

2025-01-10 15:47:30