clangd / vscode-clangd

Visual Studio Code extension for clangd
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
MIT License
594 stars 97 forks source link

Operation in vscode -- "Go to Symbol in Workspace" will sometimes stuck for no reason. #573

Open linepi opened 6 months ago

linepi commented 6 months ago

As described in the title, sometimes it gets stuck, and in such cases, reloading the window will restore it to normal.

In my mac m1 air(MacOS monterey 12.5), I'm connecting with ssh remote plugin and the target machine's info is as below: $ uname -a Linux DESKTOP-OMHPSS4 5.15.123.1-microsoft-standard-WSL2 #1 SMP Mon Aug 7 19:01:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

clangd version in that machine: $ clangd --version clangd version 17.0.3 (https://github.com/llvm/llvm-project 888437e1b60011b8a375dd30928ec925b448da57) Features: linux+grpc Platform: x86_64-unknown-linux-gnu

linepi commented 6 months ago

~/linux$ code --version 1.85.1 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 x64

HighCommander4 commented 6 months ago

Can you attach a debugger to the clangd process at the time of the hang and get a stack trace?