pdb.runcall()
pdb.runcall() is a Python function in the Pdb Module category. Calls a function under debugger control. The syntax is pdb.runcall(function, *args, **kwds). Parameters: function, *args. Returns: Function result. A typical example: pdb.runcall(process_data, items). A close sibling is pdb.set_trace(), which sets a breakpoint in code. When executed, drops into the interactive debugger. A close sibling is pdb.run(), which runs a Python statement under debugger control. A close sibling is pdb.pm(), which starts the debugger at the site of the most recent exception (post-mortem debugging). A close sibling is pdb.post_mortem(), which starts the debugger at the given traceback object for post-mortem debugging. More about this category: Interactive debugger — set_trace, run, pm, post_mortem. Related Pdb Module entries: pdb.set_trace(), pdb.run(), pdb.pm(), pdb.post_mortem(). This page is part of the free Python Reference documentation covering 978+ functions, methods, and modules with examples and parameter details. You can try pdb.runcall() immediately in the Python playground, look up unfamiliar terms in the glossary, or return to the Python Reference homepage.