eric6/DebugClients/Python/DebugBase.py

changeset 7442
ebcb3a228c3d
parent 7360
9190402e4505
child 7564
787684e6f2f3
child 7628
f904d0eef264
equal deleted inserted replaced
7441:f115f4469795 7442:ebcb3a228c3d
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:

eric ide

mercurial