Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Issue 2853083002: Improve error message when debuggers not installed (Closed)

Created:
3 years, 7 months ago by brucedawson
Modified:
3 years, 7 months ago
Reviewers:
wkorman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve error message when debuggers not installed When building Chrome we require that you have the "Debugging tools for Windows" feature of the Windows 10 SDK installed. The error messages when this non-default component is not installed are a bit cryptic. This adds a more explicit error message. The new error message looks like this: >gn gen out\debug Traceback (most recent call last): File "c:/src/chromium4/src/build/vs_toolchain.py", line 448, in <module> sys.exit(main()) File "c:/src/chromium4/src/build/vs_toolchain.py", line 444, in main return commands[sys.argv[1]](*sys.argv[2:]) File "c:/src/chromium4/src/build/vs_toolchain.py", line 309, in CopyDlls _CopyDebugger(target_dir, target_cpu) File "c:/src/chromium4/src/build/vs_toolchain.py", line 331, in _CopyDebugger '10 SDK.' % full_path) Exception: dbghelp.dll not found in "C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\dbghelp.dll" You must install the "Debugging Tools for Windows" feature from the Windows 10 SDK. ERROR at //build/toolchain/win/BUILD.gn:39:3: Script returned non-zero exit code. exec_script("../../vs_toolchain.py", ^---------- Current dir: c:/src/chromium4/src/out/debug/ Command: C:/src/depot_tools/python276_bin/python.exe -- c:/src/chromium4/src/build/vs_toolchain.py copy_dlls c:/src/chromium4/src/out/debug Debug x86 Returned 1. See //BUILD.gn:65:1: which caused the file to be included. group("gn_all") { ^---------------- R=wkorman@chromium.org BUG=702697 Review-Url: https://codereview.chromium.org/2853083002 Cr-Commit-Position: refs/heads/master@{#468397} Committed: https://chromium.googlesource.com/chromium/src/+/6c3d410ea272423ac277dc3f3e3def6490dfd6dc

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M build/vs_toolchain.py View 1 chunk +4 lines, -0 lines 1 comment Download

Messages

Total messages: 20 (9 generated)
brucedawson
PTAL. Note that cdb.exe is no longer needed, but dbghelp.dll still is.
3 years, 7 months ago (2017-05-01 18:19:50 UTC) #3
wkorman
lgtm https://codereview.chromium.org/2853083002/diff/1/build/vs_toolchain.py File build/vs_toolchain.py (right): https://codereview.chromium.org/2853083002/diff/1/build/vs_toolchain.py#newcode331 build/vs_toolchain.py:331: '10 SDK.' % full_path) Is there a page ...
3 years, 7 months ago (2017-05-01 18:40:20 UTC) #6
brucedawson
On 2017/05/01 18:40:20, wkorman wrote: > lgtm > > https://codereview.chromium.org/2853083002/diff/1/build/vs_toolchain.py > File build/vs_toolchain.py (right): > ...
3 years, 7 months ago (2017-05-01 18:42:58 UTC) #7
wkorman
On 2017/05/01 18:42:58, brucedawson wrote: > On 2017/05/01 18:40:20, wkorman wrote: > > lgtm > ...
3 years, 7 months ago (2017-05-01 18:47:25 UTC) #8
brucedawson
On 2017/05/01 18:47:25, wkorman wrote: > On 2017/05/01 18:42:58, brucedawson wrote: > > On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 18:53:43 UTC) #9
wkorman
On 2017/05/01 18:53:43, brucedawson wrote: > On 2017/05/01 18:47:25, wkorman wrote: > > On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 19:56:49 UTC) #12
brucedawson
> > > Maybe this file: > https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md Maybe, but we don't tend to have ...
3 years, 7 months ago (2017-05-01 20:16:49 UTC) #13
wkorman
On 2017/05/01 20:16:49, brucedawson wrote: > > > > Maybe this file: > > > ...
3 years, 7 months ago (2017-05-01 20:20:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2853083002/1
3 years, 7 months ago (2017-05-01 20:22:31 UTC) #16
brucedawson
> OK, I'm fine with it as is. When I go back to my home ...
3 years, 7 months ago (2017-05-01 20:22:32 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 20:27:43 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/6c3d410ea272423ac277dc3f3e3d...

Powered by Google App Engine
This is Rietveld 408576698