eric6/DebugClients/Python/DebugBase.py

branch
multi_processing
changeset 7563
b0d6b63f2843
parent 7421
4a9900aef04e
child 7564
787684e6f2f3
diff -r 27c55a3d0b89 -r b0d6b63f2843 eric6/DebugClients/Python/DebugBase.py
--- a/eric6/DebugClients/Python/DebugBase.py	Sat Feb 22 17:03:43 2020 +0100
+++ b/eric6/DebugClients/Python/DebugBase.py	Sat May 02 14:35:03 2020 +0200
@@ -634,6 +634,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