Bug 185190 - Web Inspector: selectively ignore debugger statements
Summary: Web Inspector: selectively ignore debugger statements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-02 02:09 PDT by Frazer
Modified: 2018-05-03 09:38 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frazer 2018-05-02 02:09:04 PDT
In the same way a user can TURN ON break points, or add conditions to breakpoints,
may I suggest being able to add conditions to debugger statements or disable them individually?
Comment 1 BJ Burg 2018-05-03 09:38:56 PDT
(In reply to Frazer from comment #0)
> In the same way a user can TURN ON break points, or add conditions to
> breakpoints,
> may I suggest being able to add conditions to debugger statements or disable
> them individually?

What is the use case that this enables, which is not currently possible? Can't you just add breakpoints if you don't want `debugger` to always pause?

This would be a nontrivial project as `debugger` compiles into a byte code that pauses the debugger. It is not really related to the existing breakpoints system.