Skip to content

Commit

Permalink
fixes #3404
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Feb 24, 2016
1 parent 0f07b16 commit dc23a72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export class ReapplyBreakpointsAction extends AbstractDebugAction {
}

protected isEnabled(): boolean {
return super.isEnabled() && !!this.debugService.getActiveSession() && this.debugService.getModel().getBreakpoints().length > 0;
return super.isEnabled() && this.debugService.getState() !== debug.State.Disabled && this.debugService.getState() !== debug.State.Inactive;
}
}

Expand Down

0 comments on commit dc23a72

Please sign in to comment.