##// END OF EJS Templates
Fix a breakpoint bug
Takeshi Kanmae -
Show More
@@ -555,7 +555,7 b' python-profiler package from non-free.""")'
555 bdb.Breakpoint.bpbynumber = [None]
555 bdb.Breakpoint.bpbynumber = [None]
556 # Set an initial breakpoint to stop execution
556 # Set an initial breakpoint to stop execution
557 maxtries = 10
557 maxtries = 10
558 bp_file, bp_line = parse_breakpoint(opts.get('b', [1])[0], filename)
558 bp_file, bp_line = parse_breakpoint(opts.get('b', ['1'])[0], filename)
559 checkline = deb.checkline(bp_file, bp_line)
559 checkline = deb.checkline(bp_file, bp_line)
560 if not checkline:
560 if not checkline:
561 for bp in range(bp_line + 1, bp_line + maxtries + 1):
561 for bp in range(bp_line + 1, bp_line + maxtries + 1):
General Comments 0
You need to be logged in to leave comments. Login now