Bug 26386 - Web Inspector: support setting global breakpoints on JS/DOM native functions
Summary: Web Inspector: support setting global breakpoints on JS/DOM native functions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 34499 34500 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-14 11:57 PDT by Jeff Johnson
Modified: 2016-12-13 15:39 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Johnson 2009-06-14 11:57:35 PDT
In the web inspector javascript debugger, you can set breakpoints for line numbers in a script. As far as I can tell, however, you cannot set breakpoints for DOM functions. For example, I would like to set a breakpoint for "window.open()" to pause whenever that function is called. It would be an excellent enhancement to allow setting breakpoints for DOM functions in the javascript debugger.
Comment 1 Mark Rowe (bdash) 2009-06-14 14:56:18 PDT
<rdar://problem/6971177>
Comment 2 Timothy Hatcher 2010-02-03 09:32:50 PST
*** Bug 34500 has been marked as a duplicate of this bug. ***
Comment 3 Brian Burg 2014-11-28 19:49:17 PST
*** Bug 34499 has been marked as a duplicate of this bug. ***