From: Guido van Rossum Date: Wed, 13 Feb 2008 18:41:48 +0000 (+0000) Subject: In the recursive debug command, pass Pdb arguments (completekey, stdin, stdout) X-Git-Tag: v2.5.2c1~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e41f1552c0018927eb7a04c0a8e20a0c4b9484e6;p=python In the recursive debug command, pass Pdb arguments (completekey, stdin, stdout) to the recursive Pdb instance. --- diff --git a/Lib/pdb.py b/Lib/pdb.py index d4eb8bdb39..7d6a09ce89 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))