Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Code completion using LSP and clangd
Pecan:
@ ollydbg
Are you running with Settings/Editor/Documentation Popup checked or unchecked?
If checked, uncheck it to see if the crashes go away.
I think I've found the cause, but I want to know if I'm in the ballpark.
ollydbg:
--- Quote from: Pecan on November 14, 2023, 08:40:44 pm ---@ ollydbg
Are you running with Settings/Editor/Documentation Popup checked or unchecked?
If checked, uncheck it to see if the crashes go away.
I think I've found the cause, but I want to know if I'm in the ballpark.
--- End quote ---
Yes, I have the document popup option on.
I will try to turn it off to see whether such crash happens again.
Pecan:
@ ollydbg
Would you update to rev 13396 .
I found that LSP_ParseSemanticTokens could modify the TokenTree at the same time ClassBrowserBuildThread() was reading it.
After you run ./update32_64.bat, please copy the Clangd_client dll from Devel32_64 to output32_64 so that if it crashes we'll get the line numbers.
Remember to turn on Settings/Editor/Documentation popup checkbox.
Thanks
ollydbg:
--- Quote from: Pecan on November 15, 2023, 01:16:52 am ---@ ollydbg
Would you update to rev 13396 .
I found that LSP_ParseSemanticTokens could modify the TokenTree at the same time ClassBrowserBuildThread() was reading it.
After you run ./update32_64.bat, please copy the Clangd_client dll from Devel32_64 to output32_64 so that if it crashes we'll get the line numbers.
Remember to turn on Settings/Editor/Documentation popup checkbox.
Thanks
--- End quote ---
Thanks, I will do it in a few hours. In fact, I use C:B as my main development environment, so I use it every day.
christo:
--- Quote from: Pecan on November 14, 2023, 07:54:22 pm ---OK, I'll investigate. But after I find the reason for a ClassBrowser crash.
--- End quote ---
Hi Pecan, please ignore issue I raised with query-driver, it happened due to an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] configuration. On correcting that everything works as expected. Thank you
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version