New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 647866 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Windows: Embedded crashpad handler does not support --wait-for-debugger (or similar)

Project Member Reported by marshall@chromium.org, Sep 16 2016

Issue description

Version: Chromium master revision 9cedf753 (#418732)
OS: Windows 10 64-bit

What steps will reproduce the problem?
(1) Run chrome.exe with the --wait-for-debugger (or similar) command-line flag.

What is the expected output?
The embedded crashpad handler process (--type=crashpad-handler) should wait for the debugger to attach.

What do you see instead?
There is no way to wait for debugger attachment on crashpad handler process launch.

Please use labels and text to provide additional information.
The PlatformCrashpadInitialization() function in src/components/crash/content/app/crashpad_win.cc could check the current process command line for "wait-for-debugger" (or similar) and add it to |arguments| passed into StartHandler(). The crash_reporter::RunAsCrashpadHandler() function could then check for this flag and call base::debug::WaitForDebugger().
 

Sign in to add a comment