MCPcopy Create free account
hub / github.com/ipython/ipython / __call__

Method __call__

IPython/core/debugger.py:167–173  ·  view source on GitHub ↗

Starts an interactive debugger at the point where called. This is similar to the pdb.set_trace() function from the std lib, but using IPython's enhanced debugger.

(self)

Source from the content-addressed store, hash-verified

165 self.debugger = Pdb(colors)
166
167 def __call__(self):
168 """Starts an interactive debugger at the point where called.
169
170 This is similar to the pdb.set_trace() function from the std lib, but
171 using IPython's enhanced debugger."""
172
173 self.debugger.set_trace(sys._getframe().f_back)
174
175
176RGX_EXTRA_INDENT = re.compile(r'(?<=\n)\s+')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected