Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44406ce

Browse files
authored
Fix handling of "Could not open input path" when calling c++filt (microsoft#13279)
* Fix handling of "Could not open input path" when calling c++filt
1 parent20d1f42 commit44406ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎Extension/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
###Bug Fixes
55
* Fix random IntelliSense process crashes on Linux/macOS when`C_Cpp.intelliSenseCacheSize` is > 0.[#12668](https://github.com/microsoft/vscode-cpptools/issues/12668)
66
* Fix a crash when processing Copilot snippets.
7+
* Fix a crash when using Copilot hover.
78

89
##Version 1.24.0: February 11, 2025
910
###New Feature

‎Extension/src/LanguageServer/extension.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ async function handleCrashFileRead(crashDirectory: string, crashFile: string, cr
12241224
if(ret?.output===funcStr){
12251225
ret=awaitutil.spawnChildProcess(filtPath,[funcStr],undefined,true).catch(logAndReturn.undefined);
12261226
}
1227-
if(ret!==undefined&&ret.succeeded){
1227+
if(ret!==undefined&&ret.succeeded&&!ret.output.startsWith("Could not open input file")){
12281228
funcStr=ret.output;
12291229
funcStr=funcStr.replace(/std::(?:__1|__cxx11)/g,"std");// simplify std namespaces.
12301230
funcStr=funcStr.replace(/std::basic_/g,"std::");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp