bundles / IPython latest / IPython / core / magics / execution / ExecutionMagics / _run_with_debugger
function
IPython.core.magics.execution:ExecutionMagics._run_with_debugger
Signature
def _run_with_debugger ( self , code , code_ns , filename = None , bp_line = None , bp_file = None , local_ns = None ) Summary
Run code in debugger with a break point.
Parameters
code: strCode to execute.
code_ns: dictA namespace in which
codeis executed.filename: strcodeis ran as if it is infilename.bp_line: int, optionalLine number of the break point.
bp_file: str, optionalPath to the file in which break point is specified.
filenameis used if not given.local_ns: dict, optionalA local namespace in which
codeis executed.
Raises
: UsageErrorIf the break point given by
bp_lineis not valid.
Aliases
-
IPython.core.magics.ExecutionMagics._run_with_debugger