IPython 8.4.0 Pypi GitHub Homepage
Other Docs
ParametersRaises
_run_with_debugger(self, code, code_ns, filename=None, bp_line=None, bp_file=None)

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 :None:None:`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. :None:None:`filename` is used if not given.

Raises

UsageError

If the break point given by :None:None:`bp_line` is not valid.

Run code in debugger with a break point.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /IPython/core/magics/execution.py#868
type: <class 'function'>
Commit: