-
Notifications
You must be signed in to change notification settings - Fork 512
Stepping too fast in the debugger causes a hang on Windows #1183
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
Yeah, this pesters me too. |
I am seeing the same issue. |
This happens to me as well but it only came up in the last month or so. When I hit F10 really fast the session almost always crashes. Here is my EditorServices.log https://gist.github.com/hoetz/ebc0cdf889ce86ec64022ed0614b14d1 This is my vscode-powershell.log 12/6/2018 11:44:30 AM [NORMAL] - Path specified by 'powerShellExePath' setting - '' - not found, reverting to default PowerShell path. Environment InformationVisual Studio Code
PowerShell Information
|
@TylerLeonhardt Thanks for asking. Yes...there's something basic that causes the debugger to crash/quit/hang. I've seen it across platforms (Windows, macOS) and PowerShell releases (5.1 and core 6.x on macOS). On Windows, I can cut and paste the script into the ISE and it'll debug perfectly. It's the one thing that has me worried about the death of PowerShell desktop: this debugger still is, ahem, buggy. |
Thanks for the info! Can you also attach the logs here so we can get a better idea of what's going on? |
In addition to the console crashing, I've also had the session seem to just become "detached". I.e. the debugger still thinks it's debugging, but you can't step into/over/out of anything, nor F8 to continue execution. Thankfully, hitting Stop does seem to work so that I can restart the debugging session. |
I get this issue constantly. If I step faster than ~once per second, the powershell / debugging session crashes |
I've gotten the issue @fourpastmidnight describes quite often as well. |
I still have this issue with the actual versions (code 1.42.2 and powershell 2020-01). Very annoying as the system may then be partially in an inconsistent state - I then have to clean things up before I can debug again. |
Give |
Sounds like this has been fixed in our latest preview release so I will close for now. Thanks! |
With all due respect we don’t know if this issue — a long-standing one that makes debugging scripts difficult — is actually fixed. Can we leave this open until we have some evidence? |
We have closed it given that there is no current action item for us on this issue, and we use this to track our work items...if we have evidence that it is persistent we are always happy to re-open |
Have tried it with 2020-02 powershell-preview on one machine - could not reproduce the issue any longer. |
This was opened as a result of closing #156 (comment)
Stepping too fast in the debugger causes a hang on Windows.
Repro steps
The debugging session will hang and you will not be able to continue debugging. All of the debugging options will not work.
The text was updated successfully, but these errors were encountered: