From 800fdbc11e3a1ebc82346142c7395f04e6f30fa8 Mon Sep 17 00:00:00 2001 From: isidor Date: Fri, 6 Sep 2019 17:27:43 +0200 Subject: [PATCH] repl: no neet to focusStackFrame when repl expression is added --- src/vs/workbench/contrib/debug/browser/debugSession.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vs/workbench/contrib/debug/browser/debugSession.ts b/src/vs/workbench/contrib/debug/browser/debugSession.ts index 21444e63a6f..babed65d991 100644 --- a/src/vs/workbench/contrib/debug/browser/debugSession.ts +++ b/src/vs/workbench/contrib/debug/browser/debugSession.ts @@ -921,11 +921,9 @@ export class DebugSession implements IDebugSession { } async addReplExpression(stackFrame: IStackFrame | undefined, name: string): Promise { - const viewModel = this.debugService.getViewModel(); await this.repl.addReplExpression(stackFrame, name); this._onDidChangeREPLElements.fire(); // Evaluate all watch expressions and fetch variables again since repl evaluation might have changed some. - this.debugService.focusStackFrame(viewModel.focusedStackFrame, viewModel.focusedThread, viewModel.focusedSession); variableSetEmitter.fire(); } -- GitLab