diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index e3f673100..abdc33131 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -1,6 +1,12 @@ # C/C++ for Visual Studio Code Changelog -## Version 1.24.0: Febrary 11, 2025 +## Version 1.24.1: February 13, 2025 +### Bug Fixes +* Fix random IntelliSense process crashes on Linux/macOS when `C_Cpp.intelliSenseCacheSize` is > 0. [#12668](https://github.com/microsoft/vscode-cpptools/issues/12668) +* Fix a crash when processing Copilot snippets. +* Fix a crash when using Copilot hover. + +## Version 1.24.0: February 11, 2025 ### New Feature * Add experimental support for Copilot descriptions in hover tooltips, controlled by the `C_Cpp.copilotHover` setting. This feature is currently off by default and may be subject to A/B experimentation. To opt-out of Copilot Hover experiments, set `C_Cpp.copilotHover` to `disabled`. diff --git a/Extension/package.json b/Extension/package.json index 3625a2107..8a5b95b62 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -2,7 +2,7 @@ "name": "cpptools", "displayName": "C/C++", "description": "C/C++ IntelliSense, debugging, and code browsing.", - "version": "1.24.0-main", + "version": "1.24.1-main", "publisher": "ms-vscode", "icon": "LanguageCCPP_color_128x.png", "readme": "README.md", diff --git a/Extension/src/LanguageServer/extension.ts b/Extension/src/LanguageServer/extension.ts index 58af8a4b0..11c7e6576 100644 --- a/Extension/src/LanguageServer/extension.ts +++ b/Extension/src/LanguageServer/extension.ts @@ -1224,7 +1224,7 @@ async function handleCrashFileRead(crashDirectory: string, crashFile: string, cr if (ret?.output === funcStr) { ret = await util.spawnChildProcess(filtPath, [funcStr], undefined, true).catch(logAndReturn.undefined); } - if (ret !== undefined && ret.succeeded) { + if (ret !== undefined && ret.succeeded && !ret.output.startsWith("Could not open input file")) { funcStr = ret.output; funcStr = funcStr.replace(/std::(?:__1|__cxx11)/g, "std"); // simplify std namespaces. funcStr = funcStr.replace(/std::basic_/g, "std::");