Bug 87370 - Web Inspector: "Deactivate/Activate All Breakpoints" should be disabled when there are no breakpoints
Summary: Web Inspector: "Deactivate/Activate All Breakpoints" should be disabled when ...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-24 04:38 PDT by sam
Modified: 2014-11-29 18:54 PST (History)
11 users (show)

See Also:


Attachments
Illustration for problem description. (63.70 KB, image/png)
2012-05-24 04:38 PDT, sam
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description sam 2012-05-24 04:38:05 PDT
Created attachment 143784 [details]
Illustration for problem description.

"Deactivate/Activate All Breakpoints" button on Source panel should be disbaled when there are no breakpoints.
Comment 1 Pavel Feldman 2012-05-24 04:42:15 PDT
Breakpoints can be dynamically added as scripts are parsed and removed as pages are reloaded. Blocking activate / deactivate during these transitions does not make UI more intuitive. I would be oppose to such change.
Comment 2 sam 2012-05-24 05:53:41 PDT
(In reply to comment #1)
> Breakpoints can be dynamically added as scripts are parsed and removed as pages are reloaded. Blocking activate / deactivate during these transitions does not make UI more intuitive. I would be oppose to such change.

Thanks for your feedback Pavel,

I think its a bit of confusing to keep activate / deactivate enabled when there are no breakpoints. Also when breakpoints are getting updated dynamically as you pointed out, the button would become disabled iff there are no breakpoints.
I am not very sure of occurrences of the cases where we have breakpoints/no-breakpoints in quick successions. 
Plz let me know your thoughts.