-
Notifications
You must be signed in to change notification settings - Fork 223
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
Linux/Ubuntu - Issue Triage #554
Comments
Thanks for the great bug report! Some of this is obvious like we shouldn't be searching for DSC with a path like |
I've got a dev environment set up on Ubuntu 16.04 now. I can repro the problem and I think I have a fix but need to run it by @daviwil. |
Ok, i see that the PR #557 was closed for technical reasons.... Now i try to find a deeper understanding of the code behind the problem - some stupid question here - any hep is welcome basically we are talking about the following piece of code (with the fix)
basic intent that i can see: Fact: ReadKey waits until a key is available (https://msdn.microsoft.com/en-us/library/x3h8xffw(v=vs.110).aspx). Question: Why we have a problem only inside the Linux implementation and not in Windows ? i must assume some other "strange" behavior or dependency between a while loop outside the method, the CancellationToken and the buffered-Key.... please send me in the right direction.... Werner |
I've got this same problem on OSX for a few releases now and somehow only just found these logged issues of others experiencing it |
I'd like to confirm I'm still having this issue. Here's my original post. I have tested this on brand new installs of both macOS and Ubuntu with the same results. |
EditorServices.log |
Hi
Preface:
I'm a old Windows/Dotnet/Powershell Developer now working on Linux by using all that core xplat technologies (VS-Code, Powershell-Core, dotnet-core).
Working with VS-Code and Powershell on Ubuntu it seems that this technology stack is not used by a lot of people. I have a lot of problems but i see no existing issues about this inside the GitHub Repositories.
I hope we can push the quality a litle bit.....
working on the investigations for the following Issue with VS-Code and Powershell
PowerShell/vscode-powershell#824
i see different problems inside the EditorServices (log)
Please help me to sort that out into single issues or point to the known issues somewhere else.
My Session Log File (using Ubuntu Desktop 16.04 LTS fresh installed + current Releases of VS-Code and PS-Plugin) show the following items after the start.
lot of noise but i think the exception should be solved:
.
2. CmdletInvocationException about "Drive C" - sure drive C does not make sense on Linux
.
.
currently i'm not be able to debug PS Code inside VS-Code.
Behavior:
Step-over (F10) does not returns
(not everey time, but every second call)
workaround: jump into the Terminal window in VS-Code, set the focus (with mouse) and do a single key press => Step over returns and you can do the next step over (probably working) - the next step over after this hangs again - press any key in Terminal - continue......
I can reproduce that with evere ps1 file that contains a few lines of code....
the following lines are from the log until the point where "Step-Over" does NOT return:
(Last Timespamt 06:050:18)
Waiting 1-2 Minutes and then pressing a key inside the terminal i get the following log items:
Regards
Werner
PSVersiontable:
Name Value
PSVersion 6.0.0-beta.8
PSEdition Core
GitCommitId v6.0.0-beta.8
OS Linux 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered: