-
Notifications
You must be signed in to change notification settings - Fork 512
Debugging hangs when stepping through a while loop #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the repro. It seems that the key is the watched expression that fails to evaluate. Changing to |
And it really has nothing to do with the watch window. It is merely executing script that generates errors. Remove the watch and put I guess that is one way to teach folks not to write code that generates errors. :-) |
Gonna mark this as an issue to investigate for 0.6.0 |
If I step really, really fast after a while a while the debug host crashes with:
Is there any form of Also with the latest VSCode alpha, I haven't repro'd this with the DebugTest.ps1 in the examples dir. However if you add a watch for Watch out if you keep the F10 key pressed for too long after the debugger exits. You'll get a VSCode |
Hmm... I haven't been able to reproduce this issue in the latest state of everything, even with the repro hints that Keith added.. I'm going to move this to 0.7.0 to give a little more time for investigation. |
Still repros for me. I pretty much press F10 after it hits the breakpoint and it sometimes wedges. See the attached debug log. This part of the log looks suspect:
Notice the two writes with seq number |
I'm having trouble reproing this. It might be fixed. Can anyone repro the issue? |
When I say press F10 above, what I really mean is press and hold F10. |
Worked on macOS but I did experience a hang on my Windows VM. |
Good ol' monkey testing FTW. BTW I believe we should close this issue. I've tried the repro instructions and the original issue no longer repros. Then we should open a new issue along the lines of "Stepping too fast in the debugger causes a hang on Windows". |
I agree. |
Code Version: 1.0.1-alpha
OS: Windows 10
Repro Steps:
Actual:
Debugging hangs and will not allow you to continue or step-over. When pushing stop and error pops up saying Canceled. Sometimes an error shows "Debug adapter process has terminated unexpectedly."
The text was updated successfully, but these errors were encountered: