Closed jialay closed 11 months ago
Hi @jialay Good catch! Thanks for opening this issue. I've managed to fix the break issue but cannot reproduce the "inline loop" problem. Do you mean the line comprehension in the second line? Also could you provide the full version of your python interpreter (eg 3.9.8 )?
debug with a breakpoint at line "print('finished')", any change of the code will interrupte the debug.
Describe the bug*
I am confront with two bugs, key word "break" in "for loop" and inline loop are not supported in hot reload run. It output the error info: "Process finished with exit code -1073741819 (0xC0000005)".
here is the test code:
site=[0,2,2,2] site=[ii for ii in site if ii!=0] print('test') for ii in site: if ii==2: break print('finished')
when in debug mode, this code can run well in the first time, when something changed, such as print('somethin others'), it will quit directly when hot reload is triggered, and output the upper error code.
Desktop or remote (please complete the following information):**
Additional context
Add any other context about the problem here.