Replies: 2 comments 3 replies
-
In VSCode the easiest way to find out why HLS is crashing is to open Output tab (In top menu select View > Output), in the Output Tab that opens, select "Haskell (yourproject)" which should give you enough info about why it's crashing. You might need to do CTRL+Shift+P > "Haskell: Restart Haskell LSP Server" to trigger the restart attempts and see the crash reports. If that doesn't give you enough info, you can also go to Haskell extension settings and enable For more thoubleshooting tips see https://github.com/haskell/haskell-language-server#troubleshooting in Readme. |
Beta Was this translation helpful? Give feedback.
-
Ah, hadn't noticed the drop down to select the output buffer. Thanks! My output is:
I'll google on this a bit to see if it's a known issue. |
Beta Was this translation helpful? Give feedback.
-
I have a project in VSCode that crashes HLS 0.9.0 consistently.
I get "The Haskell () server crashed 5 times in the last 3 minutes. The server will not be restarted."
I streamed the messages to a file (attached), but that doesn't look too interesting to me.
Perhaps someone could advise how I could produce more interesting tracing/logging to help identify this issue. Of course, I could also try to narrow down the condition in this project that is causing the failure (which I might also try if I can set aside the time to experiment).
vccode.log
Beta Was this translation helpful? Give feedback.
All reactions