Bug 75444

Summary: Debugging WebProcess requires running a UI process first and waiting to attach
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: darin, mrowe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Allow WebProcess to launch a client process and add a --target-web-process option to the debug-* scripts
andersca: review+
WebKit2 source diffs ignoring whitespace changes none

Description mitz 2012-01-02 13:03:11 PST
Debugging WebProcess requires running a UI process first and waiting to attach
Comment 1 mitz 2012-01-02 13:16:30 PST
Created attachment 120892 [details]
Allow WebProcess to launch a client process and add a --target-web-process option to the debug-* scripts
Comment 2 mitz 2012-01-02 13:18:23 PST
Created attachment 120893 [details]
WebKit2 source diffs ignoring whitespace changes

Attaching an -x -w diff for easier reviewing.
Comment 3 Anders Carlsson 2012-01-04 18:11:19 PST
Comment on attachment 120893 [details]
WebKit2 source diffs ignoring whitespace changes

View in context: https://bugs.webkit.org/attachment.cgi?id=120893&action=review

> Source/WebKit2/WebProcess/mac/WebProcessMainMac.mm:95
> +        // FIXME: It is not clear why we need to have this send right.

You need to pass a send right along to bootstrap_register2.
Comment 4 mitz 2012-01-04 20:19:50 PST
Fixed in <http://trac.webkit.org/r104115>.