Bug 75444 - Debugging WebProcess requires running a UI process first and waiting to attach
Summary: Debugging WebProcess requires running a UI process first and waiting to attach
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 13:03 PST by mitz
Modified: 2012-01-04 20:19 PST (History)
2 users (show)

See Also:


Attachments
Allow WebProcess to launch a client process and add a --target-web-process option to the debug-* scripts (24.92 KB, patch)
2012-01-02 13:16 PST, mitz
andersca: review+
Details | Formatted Diff | Diff
WebKit2 source diffs ignoring whitespace changes (10.33 KB, patch)
2012-01-02 13:18 PST, mitz
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.