提交 d8e64108 编写于 作者: I isidor

debug: initializing is also an active state for breakpoints.

fixes #1335
上级 e6cb8f8b
......@@ -254,7 +254,8 @@ export class DebugEditorModelManager implements IWorkbenchContribution {
private createBreakpointDecorations(breakpoints: IBreakpoint[]): editorcommon.IModelDeltaDecoration[] {
const activated = this.debugService.getModel().areBreakpointsActivated();
const debugActive = this.debugService.getState() === State.Running || this.debugService.getState() === State.Stopped;
const state = this.debugService.getState();
const debugActive = state === State.Running || state === State.Stopped || state === State.Initializing;
return breakpoints.map((breakpoint) => {
return {
options: (!breakpoint.enabled || !activated) ? DebugEditorModelManager.BREAKPOINT_DISABLED_DECORATION :
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册