-
Notifications
You must be signed in to change notification settings - Fork 511
[DBG] prompt not displayed when breakpoint hit unless Enter is pressed #1850
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
[DBG] prompt not displayed when breakpoint hit unless Enter is pressed #1850
Comments
This might or might not be related to the following other issue with prompts: Take the following script, stored at
If you run this via F5 in the Windows PowerShell ISE you get:
But if you do the same in VScode, you get:
if you're using the "PowerShell Launch Current File" configuration, and
if you're using the "PowerShell Launch Current File w/Args Prompt" configuration. Both are incorrect if you ask me. I'll probably open a separate issue for that. |
@sba923 thanks for reporting, both of these issues, the second one does separate, could you please open another issue for that one? We can reproduce this, it looks related to PSReadLine support. |
You're welcome. Opened #1862. (I've already mentioned which launch configurations I'm using ;-) ) |
Yes, this issue remains open because we haven't been able to address it yet. |
You're right. I should've inferred that from the release notes.... |
I looked into this a little bit, but I wasn't able to track down where it happens yet. Given that the workaround is to press enter, I'll have to get back to this one while we solve some of the other issues in the latest preview. |
I have a fix out for this ^ |
Great! Want me to give it a shot? |
Keep in mind this is a non-signed non-supported build and only for the sake of verifying that the problem is fixed. Here's the vsix - do you know have to install it?
or You may need to uninstall the PowerShell Preview extension in order to install this one as I have not rev'd the version. |
@TylerLeonhardt I hereby confirm that the fix worked on first try. Great job! (I was scared at first by the "the extension has been updated to..." notification, fearing that the marketplace version might have overwritten the one from the VSIX...) |
Issue Description
When I debug a PowerShell script and hit a breakpoint, the [DBG] prompt is not displayed immediately, but only after I hit Enter.
Here's what the TERMINAL pane shows when I hit F5 and the first breakpoint is hit:
When I then hit Enter this changes to:
Expected Behaviour
When the breakpoint is hit, the [DBG] prompt should be displayed right away.
Actual Behaviour
The [DBG] prompt is not displayed unless Enter is pressed.
Attached Log
PSESlogs201904060747.zip
s
System Details
System Details Output
The text was updated successfully, but these errors were encountered: