提交 0db7c217 编写于 作者: I isidor

debug: also select focused process on call stack change fixes #17401

上级 f40ebb38
......@@ -155,7 +155,9 @@ export class FocusProcessActionItem extends SelectActionItem {
});
this.debugService.getModel().onDidChangeCallStack(() => {
this.setOptions(this.debugService.getModel().getProcesses().map(p => p.name));
const process = this.debugService.getViewModel().focusedProcess;
const names = this.debugService.getModel().getProcesses().map(p => p.name);
this.setOptions(names, process ? names.indexOf(process.name) : undefined);
});
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册