Skip to content
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 on Windows #282

Closed
5nord opened this issue Nov 11, 2021 · 0 comments · Fixed by #286
Closed

Language server hangs on Windows #282

5nord opened this issue Nov 11, 2021 · 0 comments · Fixed by #286
Labels
bug Something isn't working

Comments

@5nord
Copy link
Member

5nord commented Nov 11, 2021

Describe the bug
When the language server is started it hangs at:

    Scanning "file:///c%3A/SomePath/" for possible TTCN-3 suites

To Reproduce
Steps to reproduce the behavior:

  1. On Windows install and update language server version 0.9.3 with vscode-ttcn3 extension
  2. Open any TTCN-3 file
    3a. Task-Manager should show ~20% CPU usage of ntt-process
    3b. Execute any request. ntt should ignore it. For example "TTCN-3: Show language server status"

Expected behavior
ntt should not use 20% CPU nor hang.

Possible fixes
ntt has two places where it searches towards file system root. It's possible at least one of those places cannot handle drive letter "C:" correctly and loops indefinitely.

@5nord 5nord added the bug Something isn't working label Nov 11, 2021
@moosq moosq linked a pull request Nov 12, 2021 that will close this issue
@5nord 5nord closed this as completed Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant