eric6/DebugClients/Python/DebugBase.py

branch
multi_processing
changeset 7563
b0d6b63f2843
parent 7421
4a9900aef04e
child 7564
787684e6f2f3
equal deleted inserted replaced
7428:27c55a3d0b89 7563:b0d6b63f2843
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:

eric ide

mercurial