提交 cad5a99c 编写于 作者: Q QwertyZW

Let the debug UI reflect the state of a focused thread

上级 fd4935de
......@@ -445,6 +445,10 @@ export class DebugService implements debug.IDebugService {
}
public get state(): debug.State {
const focusedThread = this.viewModel.focusedThread;
if (focusedThread && focusedThread.stopped) {
return debug.State.Stopped;
}
const focusedProcess = this.viewModel.focusedProcess;
if (focusedProcess) {
return this.sessionStates.get(focusedProcess.getId());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册