提交 77490dd6 编写于 作者: I isidor

fixes #22605

上级 c2177680
......@@ -361,7 +361,7 @@ export class DebugEditorContribution implements IDebugEditorContribution {
const sameUri = exceptionSf.source.uri.toString() === model.uri.toString();
if (this.exceptionWidget && !sameUri) {
this.closeExceptionWidget();
} else if (focusedSf.thread.stoppedDetails.reason === 'exception' && sameUri) {
} else if (sameUri && focusedSf.thread.stoppedDetails && focusedSf.thread.stoppedDetails.reason === 'exception') {
this.showExceptionWidget(exceptionSf.lineNumber, exceptionSf.column);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册