This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / 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