Skip to content

Commit 95dd538

Browse files
authored
Reduce VS Code requirement. (#3241)
* Reduce VS Code requirement. * Remove more addresses in crash telemetry.
1 parent 5512035 commit 95dd538

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"license": "SEE LICENSE IN LICENSE.txt",
1414
"engines": {
15-
"vscode": "^1.31.0"
15+
"vscode": "^1.30.0"
1616
},
1717
"bugs": {
1818
"url": "https://github.com/Microsoft/vscode-cpptools/issues",

Extension/src/LanguageServer/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ function handleCrashFileRead(err: NodeJS.ErrnoException, data: string): void {
859859

860860
// Get rid of the memory addresses (which breaks being able get a hit count for each crash call stack).
861861
data = data.replace(/0x................ /g, "");
862+
data = data.replace(/0x1........ \+ 0/g, "");
862863

863864
// Get rid of the process names on each line and just add it to the start.
864865
const process1: string = "Microsoft.VSCode.CPP.IntelliSense.Msvc.darwin\t";

0 commit comments

Comments
 (0)