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

Method _set_call_pdb

IPython/core/interactiveshell.py:1159–1168  ·  view source on GitHub ↗
(self,val)

Source from the content-addressed store, hash-verified

1157 return self._call_pdb
1158
1159 def _set_call_pdb(self,val):
1160
1161 if val not in (0,1,False,True):
1162 raise ValueError('new call_pdb value must be boolean')
1163
1164 # store value in instance
1165 self._call_pdb = val
1166
1167 # notify the actual exception handlers
1168 self.InteractiveTB.call_pdb = val
1169
1170 call_pdb = property(_get_call_pdb,_set_call_pdb,None,
1171 'Control auto-activation of pdb at exceptions')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected