vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Crash regression with completion starting with 0.30.0-insiders

Open sean-mcmanus opened this issue 6 years ago • 3 comments

See the repro at https://github.com/microsoft/vscode-cpptools/issues/5864 , i.e. the code at https://pytorch.org/cppdocs/frontend.html do completion on the "forward" of "fc1->forward".

We need to see if this repros on Windows and with VS.

sean-mcmanus avatar Aug 12 '20 22:08 sean-mcmanus

I've filed VS bug https://developercommunity.visualstudio.com/content/problem/1170465/c-intellisense-crashes-from-completion-in-clang-mo.html .

sean-mcmanus avatar Sep 01 '20 21:09 sean-mcmanus

I added additional comments on the issues on intellisense not working due to "Compiler exited with error - No IL available". Perhaps it would be helpful to add additional debug info in the cpp extension when this situation occurs. tested with 0.30.0-insiders4!

https://github.com/microsoft/vscode-cpptools/issues/6009#issuecomment-685323322

marco-fam avatar Sep 02 '20 06:09 marco-fam

@marco-fam If you're seeing "No IL available" it is not a crash, and it most likely caused by includePath or defines not being set correctly.

sean-mcmanus avatar Sep 03 '20 18:09 sean-mcmanus