Skip to content

Commit a4ef7c5

Browse files
committed
Force vscode focus on break even no stack
1 parent f8b1478 commit a4ef7c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/HLAdapter.hx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,14 @@ class HLAdapter extends DebugSession {
636636
}],
637637
totalFrames : bt.length,
638638
};
639+
if( response.body.stackFrames.length == 0 ) {
640+
response.body.stackFrames.push({
641+
id : start + 0,
642+
name : "Empty Stack",
643+
line : 0,
644+
column : 0,
645+
});
646+
}
639647
sendResponse(response);
640648
}
641649

0 commit comments

Comments
 (0)