Bug 34499

Summary: Web Inspector: option to pause in debugger when console.{error, warn, assert} is called
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: aroben, burg, bweinstein, ggaren, joepeck, keishi, pfeldman, pmuellr, rik
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Timothy Hatcher
Reported 2010-02-02 13:10:53 PST
We should have the ability to pause in the debugger when console.{error, warn, assert} is called. Maybe even console.log?
Attachments
Adam Roben (:aroben)
Comment 1 2010-02-02 13:12:38 PST
A more general version of this feature would be to make it possible to set breakpoints on certain functions, even built-in functions. But even if we do that we might want to expose these particular functions specially in the UI.
Adam Roben (:aroben)
Comment 2 2010-02-02 13:13:08 PST
(In reply to comment #1) > A more general version of this feature would be to make it possible to set > breakpoints on certain functions, even built-in functions. I meant "any function", not "certain functions".
Joseph Pecoraro
Comment 3 2014-08-05 12:07:59 PDT
We already pause on console.assert when "Pause on All Exceptions" is enabled. Maybe we should make it explicit though.
Timothy Hatcher
Comment 4 2014-08-05 12:09:10 PDT
Pause on error and warn would be good too.
Brian Burg
Comment 5 2014-11-28 19:49:17 PST
*** This bug has been marked as a duplicate of bug 26386 ***
Note You need to log in before you can comment on or make changes to this bug.