Skip to content

Commit 625ee33

Browse files
Stop skipping the top crash stack frames. (#13403)
Co-authored-by: Colen Garoutte-Carson <[email protected]>
1 parent 2100587 commit 625ee33

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Extension/src/LanguageServer/extension.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,14 +1213,11 @@ async function handleCrashFileRead(crashDirectory: string, crashFile: string, cr
12131213
data = telemetryHeader + signalType;
12141214
let crashCallStack: string = "";
12151215
let validFrameFound: boolean = false;
1216-
for (let lineNum: number = crashStackStartLine; lineNum < lines.length - 3; ++lineNum) { // skip last lines
1216+
for (let lineNum: number = crashStackStartLine + 1; lineNum < lines.length - 3; ++lineNum) { // skip last lines
12171217
const line: string = lines[lineNum];
12181218
const startPos: number = line.indexOf(startStr);
12191219
let pendingCallStack: string = "";
12201220
if (startPos === -1 || line[startPos + (isMac ? 1 : 4)] === "+") {
1221-
if (!validFrameFound) {
1222-
continue; // Skip extra … at the start.
1223-
}
12241221
pendingCallStack = dotStr;
12251222
const startAddressPos: number = line.indexOf("0x");
12261223
const endAddressPos: number = line.indexOf(endOffsetStr, startAddressPos + 2);

0 commit comments

Comments
 (0)