提交 327d06f5 编写于 作者: I isidor

debug: only show exception widget when exception frame is focused

fixes #29097
上级 6180e697
......@@ -365,7 +365,7 @@ export class DebugEditorContribution implements IDebugEditorContribution {
// First call stack frame that is available is the frame where exception has been thrown
const exceptionSf = first(callStack, sf => sf.source && sf.source.available, undefined);
if (!exceptionSf) {
if (!exceptionSf || exceptionSf !== focusedSf) {
this.closeExceptionWidget();
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册