cquery-project / emacs-cquery

Emacs client for cquery, a low-latency language server supporting multi-million line C++ code-bases
116 stars 14 forks source link

cquery-member-hierarchy times out #51

Open dscole opened 6 years ago

dscole commented 6 years ago

When I run cquery-member-hierarchy on a class, emacs hangs for 10 seconds (lsp-response-timeout default value) than I get: lsp--send-wait: Timed out while waiting for a response from the language server I first though that maybe it's simply a hard query that requires a lot of lookup on the cquery server side, but I don't see any increased cpu usage of the cquery process. Any ideas on how I can further debug it? I'm suspecting that emacs-cquery might not actually be sending anything to the cquery server. How would I interact directly with the cquery server to ask it directly about member hierarchy?

dscole commented 6 years ago

Found out what is the underlying issue. It was simply removed from the cquery server: https://github.com/cquery-project/cquery/issues/789