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
We should have the ability to pause in the debugger when console.{error, warn, assert} is called. Maybe even console.log?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
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)
(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
We already pause on console.assert when "Pause on All Exceptions" is enabled. Maybe we should make it explicit though.
Timothy Hatcher
Pause on error and warn would be good too.
Brian Burg
*** This bug has been marked as a duplicate of bug 26386 ***