Enable breakpoints when adding a new breakpoint or enabling an existing breakpoint

System Internals / WebKit - timothy@apple.com [268f45cc-cd09-0410-ab3c-d52691b4dbfc] - 28 February 2014 16:54 UTC

This eliminates a multi-step process for the user that can be confusing.

https://bugs.webkit.org/show_bug.cgi?id=129426

Reviewed by Joseph Pecoraro.

- UserInterface/Controllers/DebuggerManager.js: (WebInspector.DebuggerManager.prototype.set breakpointsEnabled): (WebInspector.DebuggerManager.prototype._breakpointDisabledStateDidChange):
- UserInterface/Views/DebuggerSidebarPanel.js: (WebInspector.DebuggerSidebarPanel): (WebInspector.DebuggerSidebarPanel.prototype._breakpointsEnabledDidChange): (WebInspector.DebuggerSidebarPanel.prototype._breakpointsToggleButtonClicked):

75bbda2 Enable breakpoints when adding a new breakpoint or enabling an existing breakpoint.
Source/WebInspectorUI/ChangeLog | 18 ++++++++++++++++++
.../UserInterface/Controllers/DebuggerManager.js | 13 ++++++++++++-
.../UserInterface/Views/DebuggerSidebarPanel.js | 9 +++++++--
3 files changed, 37 insertions(+), 3 deletions(-)

Upstream: github.com


  • Share