eric6/DebugClients/Python/DebugBase.py

changeset 7442
ebcb3a228c3d
parent 7360
9190402e4505
child 7564
787684e6f2f3
child 7628
f904d0eef264
diff -r f115f4469795 -r ebcb3a228c3d eric6/DebugClients/Python/DebugBase.py
--- a/eric6/DebugClients/Python/DebugBase.py	Sat Mar 07 17:22:14 2020 +0100
+++ b/eric6/DebugClients/Python/DebugBase.py	Sun Mar 08 12:59:38 2020 +0100
@@ -629,6 +629,8 @@
             # No need to handle special case if a lot of lines between
             # (e.g. closure), because the additional lines won't cause a bp
             for co_lno in co_lnotab:
+                if co_lno >= 0x80:
+                    lineNo -= 0x100
                 lineNo += co_lno
                 lineNumbers.append(lineNo)
             

eric ide

mercurial