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

Oops

parent 80d132de
......@@ -71,7 +71,7 @@ class Debugger(bdb.Bdb):
self.vsource = BooleanVar(top)
self.bsource = Checkbutton(cframe,
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.blocals = Checkbutton(cframe,
text="Locals", command=self.show_locals, variable=self.vlocals)
......@@ -163,6 +163,8 @@ class Debugger(bdb.Bdb):
self.stackviewer = sv = StackViewer.StackViewer(
self.top, self.flist, self)
if self.frame:
stack, i = self.get_stack(self.frame, None)
sv.load_stack(stack, i)
else:
sv = self.stackviewer
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