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