OK, I've added this and some other useful info to the dev wiki at:
http://sites.google.com/a/chromium.org/dev/developers/debugging-on-os-x
jam,maruel: Thanks for the info!

Best regards,
Jeremy

On Thu, Feb 5, 2009 at 5:12 PM, Jeremy Moskovich <[email protected]>wrote:

> FYI, this just describes how things are hacked up to work at the moment for
> the benefit of people trying to bring stuff up.
>
> I assume that there are better ways to do this in the long run.
>
> Best regards,
> Jeremy
>
> On Thu, Feb 5, 2009 at 4:57 PM, Jeremy Moskovich <[email protected]>wrote:
>
>> Just a quick note, since this may be generally useful:
>>
>> If you pass the --renderer-startup-dialog when running the browser (or the
>> unit tests) then any spawned render process will print a message to stdout
>> with it's pid and then call pause().
>>
>> XCode doesn't like debugging multiple processes, so what I've done up till
>> now is launch from the command line with the above flag and then do a
>> Run->Attach To Process->Process Id... in XCode to actually attach to the
>> renderer process.  I can then hit continue and we're off...
>>
>> In general, Chrome's process structure propagates command line flags from
>> parent to child, so any flags you pass to the browser on startup will be
>> passed to child processes, this is also useful when debugging the renderer.
>>
>> I'll post more detailed notes to the wiki timorrow...
>>
>> Best regards,
>> Jeremy
>>
>
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to