You are viewing an older version (9.11.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.11.0 / IPython / core / magics / execution / ExecutionMagics / _run_with_debugger

function

IPython.core.magics.execution:ExecutionMagics._run_with_debugger

source: /IPython/core/magics/execution.py:901

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 : str

Code to execute.

code_ns : dict

A namespace in which code is executed.

filename : str

code is ran as if it is in filename.

bp_line : int, optional

Line number of the break point.

bp_file : str, optional

Path to the file in which break point is specified. filename is used if not given.

local_ns : dict, optional

A local namespace in which code is executed.

Raises

: UsageError

If the break point given by bp_line is not valid.

Aliases

  • IPython.core.magics.ExecutionMagics._run_with_debugger