chanhx / crabviz

🦀 A LSP-based interative call graph generator
Apache License 2.0
715 stars 24 forks source link

Crash on wsl #44

Open Wakotu opened 2 weeks ago

Wakotu commented 2 weeks ago

I install the extension in vscode wsl environment, and it crashed when I click the generate button. It just prompts with "Detecting Project language..." and go silent. I use ubuntu 22.04 as my wsl guest. I had installed the required lsp executable and corresponding extension.

chanhx commented 2 weeks ago

I think this should be the same problem as #20, but sorry I don't have time recently to check exactly what the problem is and fix it. For now, maybe you could try downgrading the version to v0.3.2 to see if it works.

Wakotu commented 2 weeks ago

I should also add that it failed on c project but succeeeded on rust project.

chanhx commented 2 weeks ago

I'm not sure what the problem is, but I had generated some call graphs for C/C++ projects with clangd as the call hierarchy provider, maybe you could try it.