-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
Language server hangs due to duplicate --connect flags #10813
Comments
Interesting! I didn't account for duplicate |
I have fixed this, but I don't know how to add a test for this right now because we usually abstracts away all the |
My issue has been solved now, thanks! |
Oh well, in this case we can live without a test, I'm sure someone will quickly notice if we ever break this again for some reason. |
Well, it was quite hard to figure out this was the root cause of my issue, but yes hopefully now that the path of issues has been laid out from the vscode lime extension repository it should be fairly easy for someone to figure out. 😄 |
To reproduce:
The second --connect arg is passed onto the server, causing it to hang. This is the output before it becomes unresponsive:
This is a common situation, as
--connect 6000
might be found in an hxml file, as is common for lime projects. As a result, everything breaks: openfl/lime-vscode-extension#93This is only an issue on nightly, not on 4.2.5 (or any commit before #10629). There the server doesn't hang, and it simply outputs:
@Simn this seems to have broken after your rework of how args are handled between the frontend and the server: #10629
The text was updated successfully, but these errors were encountered: