New submission from Francisco Arenas Afán de Rivera <[email protected]>:
I found that the debugger doesn't follow the normal program order when
executing a foor loop with more than 3 instructions inside and one loop.
code example:
a = 0
b = 0
c = 0
for i in range(1):
a += 1
b += 1 # Set breakpoint here
c += 1 # Also crash with breakpoint here
jumps to the line b += 1 after the end of the loop and crashes with error:
Process finished with exit code -1073741819 (0xC0000005)
----------
messages: 414417
nosy: franarenasafan
priority: normal
severity: normal
status: open
title: Debugger jumps to a wrong instruction in for loop
versions: Python 3.10
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46908>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com