Skip to content

Fix issue with debugger output not being written for short scripts #306

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

Merged
merged 1 commit into from
Nov 29, 2016

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Nov 29, 2016

This change fixes an issue where script output for very small scripts is
not being written out reliably before the debug adapter terminates. The
fix is to add an extra output flush before sending the TerminatedEvent
back to the client. This fix is temporary until we get the REPL
integration online.

Resolves #138.
Resolves PowerShell/vscode-powershell#284.

This change fixes an issue where script output for very small scripts is
not being written out reliably before the debug adapter terminates.  The
fix is to add an extra output flush before sending the TerminatedEvent
back to the client.  This fix is temporary until we get the REPL
integration online.

Resolves #138.
Resolves PowerShell/vscode-powershell#284.
@daviwil
Copy link
Contributor Author

daviwil commented Nov 29, 2016

Fixing this in a cheeky way just to solve the issue in the short term.

/cc @pcgeek86

@daviwil
Copy link
Contributor Author

daviwil commented Nov 29, 2016

Waiting to see if people verify the fix from the preview build I sent out.

@daviwil daviwil merged commit 1ff1618 into develop Nov 29, 2016
@daviwil daviwil deleted the daviwil/fix-output branch November 29, 2016 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants