Skip to content

[VS Code Extension] The LSP Fails and Crashes the ISPC Extension #58

@RoyiAvital

Description

@RoyiAvital

On VS Code 1.99.1 with the latest version of ISPC (1.1.1) from March 2019.
Working on Windows 11 24H2.

When the extension loads I get the following:

WARN: server does not support a notification '$/setTraceNotification'
WARN: server does not support a notification '$/setTraceNotification'
WARN: server does not support a notification '$/setTraceNotification'
WARN: server does not support a notification '$/setTraceNotification'
WARN: server does not support a notification '$/setTraceNotification'

Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at ISPCLanguageServer.Compiler.CompileProc() in C:\projects\depot\users\pbrubake\ispc-languageserver-csharp\server\ispc_languageserver\Compiler.cs:line 99
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
[Info  - 9:53:01 PM] [ispc] - maxNumberOfProblems is set to 100.
[Info  - 9:53:01 PM] Connection to server got closed. Server will restart.
WARN: server does not support a notification '$/setTraceNotification'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions