mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix inserting breakpoints into borderline case (PY-23393)
This commit is contained in:
@@ -96,7 +96,7 @@ def _update_label_offsets(code_obj, breakpoint_offset, breakpoint_code_list):
|
||||
offsets_for_modification.append(offset)
|
||||
elif op in dis.hasjabs:
|
||||
# change label for absolute jump if code was inserted before it
|
||||
if current_offset <= arg:
|
||||
if current_offset < arg:
|
||||
offsets_for_modification.append(offset)
|
||||
for i in range(0, len(code_list), 2):
|
||||
op = code_list[i]
|
||||
|
||||
Reference in New Issue
Block a user