Closed chessman closed 2 years ago
Thanks for reporting! "clientName": "Visual Studio Code",
seems suspicious, but that is set (or should be) by the dap-mode. What is your java home? Looks like it's an issue with the debugging process not able to start. Does it work for you on an earlier Bloop version?
@kpodsiad do you think this could have been caused by your recent changes?
@tgodzik Yep, looked in dap-mode code, it pretends to be vscode.
Checked metals with different bloops: 1.4.12, 1.4.11, 1.4.10, got the same error in metals.log. bloop test
works on all versions.
Actually, I installed very old Metals 0.10.0 (cs install metals:0.10.0
) and also had the same problem. It is weird, because it definitely worked before.
JAVA_HOME is /home/ea/.cache/coursier/jvm/amazon-corretto@1.8.292-10.1.
@kpodsiad do you think this could have been caused by your recent changes?
I don't think so, especially because I haven't touched dunning internals yet. If metals:0.10.0
doesn't work either something else has to be an issue (however, I'll have a closer look at this tomorrow just to be sure).
@tpasternak are you able to run tests on your machine?
Actually, this doesn't seem to be related to Emacs at all, but to the broken swagger jar reported in https://github.com/scalameta/metals/issues/3594
@chessman is it the same workspace? I cannot run/debug either and it seem the fault is in unhandled exception in https://github.com/scalacenter/scala-debug-adapter
@tgodzik Yes, this is the same project containing the broken jar.
@tgodzik Yes, this is the same project containing the broken jar.
Cool, that should be fixed by the other PR
I can confirm that it works with Metals 0.11.2. Thanks for the fix!
Describe the bug
I can still run tests using bloop but in Emacs dap-mode it doesn't work anymore. I see a suspicious UncheckedIOException in metals logs - I do have /home directory.
Also, is it ok that the client in traces is shown as "vscode"?
dap-server.trace.json
dap-client.trace.json
Expected behavior
No response
Operating system
Linux
Editor/Extension
Emacs (lsp-metals)
Version of Metals
v0.11.1
Extra context or search terms
No response