Commit 6b384833 authored by Guido van Rossum's avatar Guido van Rossum

Oops

parent 80d132de
...@@ -71,7 +71,7 @@ class Debugger(bdb.Bdb): ...@@ -71,7 +71,7 @@ class Debugger(bdb.Bdb):
self.vsource = BooleanVar(top) self.vsource = BooleanVar(top)
self.bsource = Checkbutton(cframe, self.bsource = Checkbutton(cframe,
text="Source", command=self.show_source, variable=self.vsource) text="Source", command=self.show_source, variable=self.vsource)
self.bsource.grid(row=0, column=0) self.bsource.grid(row=0, column=1)
self.vlocals = BooleanVar(top) self.vlocals = BooleanVar(top)
self.blocals = Checkbutton(cframe, self.blocals = Checkbutton(cframe,
text="Locals", command=self.show_locals, variable=self.vlocals) text="Locals", command=self.show_locals, variable=self.vlocals)
...@@ -163,6 +163,8 @@ class Debugger(bdb.Bdb): ...@@ -163,6 +163,8 @@ class Debugger(bdb.Bdb):
self.stackviewer = sv = StackViewer.StackViewer( self.stackviewer = sv = StackViewer.StackViewer(
self.top, self.flist, self) self.top, self.flist, self)
if self.frame: if self.frame:
stack, i = self.get_stack(self.frame, None)
sv.load_stack(stack, i)
else: else:
sv = self.stackviewer sv = self.stackviewer
if sv and not self.vstack.get(): if sv and not self.vstack.get():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment