Skip to content

Commit

Permalink
Removed redundant call to prevent widget appearing when stack frame d…
Browse files Browse the repository at this point in the history
…oes not match the model uri. Fixes #22607
  • Loading branch information
michelkaporin committed Mar 24, 2017
1 parent 4c41eca commit 2af4a3a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2af4a3a

Please sign in to comment.