Skip to content

Commit 77490dd

Browse files
committed
1 parent c217768 commit 77490dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export class DebugEditorContribution implements IDebugEditorContribution {
361361
const sameUri = exceptionSf.source.uri.toString() === model.uri.toString();
362362
if (this.exceptionWidget && !sameUri) {
363363
this.closeExceptionWidget();
364-
} else if (focusedSf.thread.stoppedDetails.reason === 'exception' && sameUri) {
364+
} else if (sameUri && focusedSf.thread.stoppedDetails && focusedSf.thread.stoppedDetails.reason === 'exception') {
365365
this.showExceptionWidget(exceptionSf.lineNumber, exceptionSf.column);
366366
}
367367
}

0 commit comments

Comments
 (0)