bundles / IPython 9.3.0 / IPython / core / debugger / Pdb / _get_frame_locals
function
IPython.core.debugger:Pdb._get_frame_locals
source: /IPython/core/debugger.py :565
Signature
def _get_frame_locals ( self , frame ) Summary
" Accessing f_local of current frame reset the namespace, so we want to avoid that or the following can happen
Extended Summary
ipdb> foo "old" ipdb> foo = "new" ipdb> foo "new" ipdb> where ipdb> foo "old"
So if frame is self.current_frame we instead return self.curframe_locals
Aliases
-
IPython.core.debugger.Pdb._get_frame_locals