##// END OF EJS Templates
Remove condition from set_trace.
tillahoffmann -
Show More
@@ -623,12 +623,11 b' class Pdb(OldPdb, object):'
623 623 do_w = do_where
624 624
625 625
626 def set_trace(frame=None, condition=True):
627 """
628 Start debugging from `frame` if `condition` is satisfied.
629
630 If frame is not specified, debugging starts from caller's frame.
631 """
632 if condition:
633 pdb = Pdb()
634 pdb.set_trace()
626 def set_trace(frame=None):
627 """
628 Start debugging from `frame`.
629
630 If frame is not specified, debugging starts from caller's frame.
631 """
632 pdb = Pdb()
633 pdb.set_trace()
General Comments 0
You need to be logged in to leave comments. Login now