On Linux and mac, if you set the BROWSER_WRAPPER environment variable,
it'll run that as a prefix of chrome.  E.g., BROWSER_WRAPPER="xterm -e
gdb --args" should open a new xterm with gdb for each browser window.

On Tue, Sep 22, 2009 at 3:00 PM, Paweł Hajdan Jr.
<[email protected]> wrote:
> What's the best way to attach the debugger to a browser started by a UI
> test? How about doing that only in case of a crash?
> I'm looking for solution both for Windows and Linux, so if you have good
> techniques, it'd be really nice. I can even document them on the wiki, but
> currently I'm using LOG statements when debugging the browser (I know it's
> not the optimal and kind of sucks, but I couldn't find a good way to attach
> the debugger).
> >
>

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

Reply via email to