632 co_lnotab = frame.f_code.co_lnotab[1::2] |
632 co_lnotab = frame.f_code.co_lnotab[1::2] |
633 |
633 |
634 # No need to handle special case if a lot of lines between |
634 # No need to handle special case if a lot of lines between |
635 # (e.g. closure), because the additional lines won't cause a bp |
635 # (e.g. closure), because the additional lines won't cause a bp |
636 for co_lno in co_lnotab: |
636 for co_lno in co_lnotab: |
|
637 if co_lno >= 0x80: |
|
638 lineNo -= 0x100 |
637 lineNo += co_lno |
639 lineNo += co_lno |
638 lineNumbers.append(lineNo) |
640 lineNumbers.append(lineNo) |
639 |
641 |
640 for bp in Breakpoint.breakInFile[filename]: |
642 for bp in Breakpoint.breakInFile[filename]: |
641 if bp in lineNumbers: |
643 if bp in lineNumbers: |