Open tdiesler opened 3 years ago
Terribly sorry for the late reply, I missed the notification.
If you run window:toggle-dev-tools
from the command palette, and open the console tab, you will see a lot of debug information from HLS printed to console as warnings. In most cases this should be enough to get the general idea of what's going on at least.
P.S. You can get even more verbose logging if you add debugLSP: true
to Atom config under core
(NB: you need to add it manually, it's not exposed in the GUI). But in most cases you shouldn't need this.
In the console I see messages like this ...
The various projects are here
Welp, apparently HLS "just segfaults", which is entirely unhelpful. I was able to eventually make it crash on this project, but it took a while, and I can't really reproduce the issue reliably (or frankly at all for the past half an hour), so this seems to be a heisenbug in HLS -- at least from what I can tell. I don't think I'll be able to help with that much. FWIW after a cursory Google search, it appears building HLS from source (as opposed to installing prebuilts via ghcup) can help with at least some of these segfaults.
If you decide to open an issue upstream, remember to include the output of haskell-language-server-wrapper --probe-tools
and haskell-language-server-wrapper --debug code/payout/src/Astor/Payout.hs
in addition to the output from dev. console.
Ok, thanks
With ide-haskell-hls-0.0.6 I keep getting the above error. Is there a see why the haskell-language-server is crashing? This is with Atom on MacOS