nokia / ntt

Modern tools for TTCN-3

Home Page:https://nokia.github.io/ntt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Language server hangs on Windows

5nord opened this issue · comments

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.