提交 1142963f 编写于 作者: I isidor

debug: workaround for stale variables response when setting variable value

上级 c48e5df8
......@@ -136,7 +136,7 @@ function renderRenameBox(debugService: debug.IDebugService, contextViewService:
if (renamed && element.value !== inputBox.value) {
element.setVariable(inputBox.value)
// if everything went fine we need to refresh ui elements since the variable update can change watch and variables view
.done(() => debugService.focusStackFrameAndEvaluate(debugService.getViewModel().focusedStackFrame), errors.onUnexpectedError);
.done(() => tree.refresh(element, false), errors.onUnexpectedError);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册