Bug 34499 - Web Inspector: option to pause in debugger when console.{error, warn, assert} is called
Summary: Web Inspector: option to pause in debugger when console.{error, warn, assert}...
Status: RESOLVED DUPLICATE of bug 26386
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: 2010-02-02 13:10 PST by Timothy Hatcher
Modified: 2014-11-28 19:49 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 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?
Comment 1 Adam Roben (:aroben) 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.
Comment 2 Adam Roben (:aroben) 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".
Comment 3 Joseph Pecoraro 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.
Comment 4 Timothy Hatcher 2014-08-05 12:09:10 PDT
Pause on error and warn would be good too.
Comment 5 Brian Burg 2014-11-28 19:49:17 PST

*** This bug has been marked as a duplicate of bug 26386 ***