##// END OF EJS Templates
Merge pull request #12667 from meeseeksmachine/auto-backport-of-pr-12659-on-7.x
Matthias Bussonnier -
r26159:3cb2535d merge
parent child Browse files
Show More
@@ -597,6 +597,7 b' class Pdb(OldPdb):'
597 597 argument (which is an arbitrary expression or statement to be
598 598 executed in the current environment).
599 599 """
600 trace_function = sys.gettrace()
600 601 sys.settrace(None)
601 602 globals = self.curframe.f_globals
602 603 locals = self.curframe_locals
@@ -607,7 +608,7 b' class Pdb(OldPdb):'
607 608 self.message("ENTERING RECURSIVE DEBUGGER")
608 609 sys.call_tracing(p.run, (arg, globals, locals))
609 610 self.message("LEAVING RECURSIVE DEBUGGER")
610 sys.settrace(self.trace_dispatch)
611 sys.settrace(trace_function)
611 612 self.lastcmd = p.lastcmd
612 613
613 614 def do_pdef(self, arg):
General Comments 0
You need to be logged in to leave comments. Login now