diff options
author | Guido van Rossum <guido@python.org> | 1998-10-16 17:16:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-16 17:16:59 (GMT) |
commit | 6b384833f36264992f6a27ce9a623ad4d9f413af (patch) | |
tree | e833f5ea870f106254cfb3e47f2e3a4f173f7448 /Tools/idle/Debugger.py | |
parent | 80d132deda37640fb9029d32cde4a5aa0a5e9876 (diff) | |
download | cpython-6b384833f36264992f6a27ce9a623ad4d9f413af.zip cpython-6b384833f36264992f6a27ce9a623ad4d9f413af.tar.gz cpython-6b384833f36264992f6a27ce9a623ad4d9f413af.tar.bz2 |
Oops
Diffstat (limited to 'Tools/idle/Debugger.py')
-rw-r--r-- | Tools/idle/Debugger.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index d414b67..e83a29b 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/Debugger.py @@ -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(): |