We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c217768 commit 77490ddCopy full SHA for 77490dd
1 file changed
src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts
@@ -361,7 +361,7 @@ export class DebugEditorContribution implements IDebugEditorContribution {
361
const sameUri = exceptionSf.source.uri.toString() === model.uri.toString();
362
if (this.exceptionWidget && !sameUri) {
363
this.closeExceptionWidget();
364
- } else if (focusedSf.thread.stoppedDetails.reason === 'exception' && sameUri) {
+ } else if (sameUri && focusedSf.thread.stoppedDetails && focusedSf.thread.stoppedDetails.reason === 'exception') {
365
this.showExceptionWidget(exceptionSf.lineNumber, exceptionSf.column);
366
}
367
0 commit comments