I recently started including some “heavier” template programming on my embedded projects and noticed that Clang Intellisense has been crashing pretty frequently now. I’ve gotten probably 4 crashes in the past day or so. Now I’m not entirely convinced that it is the templates that are causing the issue, but I’m suspicious of them. I’ve attached one of your minidump files that was generated. Looking at it myself obviously got me nowhere since I can’t parse that 😉 Any thoughts?
Most likely, some incomplete construct in one of the template functions in your code is triggering some bug in Clang. VisualGDB is designed to run the Clang IntelliSense in a separate process and make sure that those crashes don’t result in losing any work, but we should be also able to patch the corresponding Clang logic to fix it. Please send us a minidump file via the support interface and we will get back to you with more details.