summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2008-02-13 18:41:48 (GMT)
committerGuido van Rossum <guido@python.org>2008-02-13 18:41:48 (GMT)
commite41f1552c0018927eb7a04c0a8e20a0c4b9484e6 (patch)
treea35c74b978c231346bb826cfb9ab2dc6453f3183
parente9c996c14db994fb0afe806a0eee16a97b587fc1 (diff)
downloadcpython-e41f1552c0018927eb7a04c0a8e20a0c4b9484e6.zip
cpython-e41f1552c0018927eb7a04c0a8e20a0c4b9484e6.tar.gz
cpython-e41f1552c0018927eb7a04c0a8e20a0c4b9484e6.tar.bz2
In the recursive debug command, pass Pdb arguments (completekey, stdin, stdout)
to the recursive Pdb instance.
-rwxr-xr-xLib/pdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index d4eb8bd..7d6a09c 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -641,7 +641,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
sys.settrace(None)
globals = self.curframe.f_globals
locals = self.curframe.f_locals
- p = Pdb()
+ p = Pdb(self.completekey, self.stdin, self.stdout)
p.prompt = "(%s) " % self.prompt.strip()
print >>self.stdout, "ENTERING RECURSIVE DEBUGGER"
sys.call_tracing(p.run, (arg, globals, locals))