diff --git a/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts b/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts index 80578f070e495..5fb7d92306a51 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugEditorContribution.ts @@ -264,14 +264,12 @@ export class DebugEditorContribution implements IDebugEditorContribution { const model = this.editor.getModel(); if (model && sf && sf.source.uri.toString() === model.uri.toString()) { this.editor.updateOptions({ hover: false }); + this.toggleExceptionWidget(); } else { this.editor.updateOptions({ hover: true }); this.hideHoverWidget(); } - // Handling exception - this.toggleExceptionWidget(); - this.updateInlineDecorations(sf); }