Bug 66596

Summary: Update Debugging WebKit instructions for debugging with Safari 5.1/WebKit 2
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebKit WebsiteAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: ap, arv, burg, mjs
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 67101, 67102    
Bug Blocks:    

Description Daniel Bates 2011-08-19 14:49:55 PDT
Safari 5.1 shipped with WebKit 2. We should update the Debugging WebKit page <http://www.webkit.org/building/debug.html> to describe how to support debugging WebKit 2.
Comment 1 Erik Arvidsson 2011-08-24 15:57:16 PDT
Here is how to do it for people that do not know yet:

defaults write com.apple.Safari IncludeInternalDebugMenu 1

And then in Safari 5.1 you'll see a Debug menu. From here you can either do "New Single-process Window" or turn off "Use Multi-process Windows". Once that is done your Xcode breakpoints will be hit.
Comment 2 Maciej Stachowiak 2011-08-25 11:02:11 PDT
The better way to do it is here:
https://trac.webkit.org/wiki/Debugging%20the%20WebKit2%20Web%20Process
Comment 3 Brian Burg 2014-11-29 18:50:07 PST
The linked wiki page is empty and the content appears to be on debug.html now. Closing bug.