Open LaurentTreguier opened 5 years ago
@patrickkh7788 I have added a d.init.safeMode
option that you can enable in VSCode. It disables processing multiple requests at the same time.
I will add debugging info in DLS to see file names and lines in errors.
Actually, I have an idea: some programs crash in release mode when using dmd -inline
. Maybe disabling inlining could solve the problem.
Starting from v0.21.2, DLS is compiled without inlining and without executable compression. Maybe one of those can solve the problem.
This looks like #25, and could perhaps be fixed by 656926b4ddd2ae2b521293f36088cc73742dfbb1
From https://github.com/d-language-server/dls/issues/7#issuecomment-450609239: