summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-xLib/pdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 8b747e7..b00bbae 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -616,6 +616,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
else:
self.curindex = self.curindex - 1
self.curframe = self.stack[self.curindex][0]
+ self.curframe_locals = self.curframe.f_locals
self.print_stack_entry(self.stack[self.curindex])
self.lineno = None
do_u = do_up
@@ -626,6 +627,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
else:
self.curindex = self.curindex + 1
self.curframe = self.stack[self.curindex][0]
+ self.curframe_locals = self.curframe.f_locals
self.print_stack_entry(self.stack[self.curindex])
self.lineno = None
do_d = do_down