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

Issue 2895043002: Improve Visual Studio debug visualizers (Closed)

Created:
3 years, 7 months ago by brettw
Modified:
3 years, 7 months ago
Reviewers:
brucedawson
CC:
chromium-reviews, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve Visual Studio debug visualizers Links the native visualizers into the PDB so that Visual Studio will pick up the visualizers with no user action. Adds visualizers for base::flat_set, base::flat_tree (these two had the info buried in several levels of tree), base::ManualConstructor (requires a cast), and base::Value (decodes the union). Removes some aura visualizers. I didn't see these as adding much value. Simplifies many of the other visualizers to only improve the summary and not list any <Expand> items. This causes VS to show the default expansion. Many of these seemed unhelpful and possibly confusing (converting gfx::Point's "x_" to "X"), dangerously misleading (converting Skia's rect which is left, top, right, button to use width, height format), and broken (GURL's components had typos and didn't work). Review-Url: https://codereview.chromium.org/2895043002 Cr-Commit-Position: refs/heads/master@{#473767} Committed: https://chromium.googlesource.com/chromium/src/+/2187893b82e8052ff073ee1bdb940f7ac94f19e6

Patch Set 1 #

Patch Set 2 : More #

Patch Set 3 : flat_set #

Patch Set 4 : Typo #

Patch Set 5 : Skia typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -150 lines) Patch
M base/BUILD.gn View 1 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/wtf/BUILD.gn View 1 1 chunk +4 lines, -0 lines 0 comments Download
A tools/win/DebugVisualizers/BUILD.gn View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M tools/win/DebugVisualizers/chrome.natvis View 1 2 2 chunks +35 lines, -127 lines 0 comments Download
M tools/win/DebugVisualizers/skia.natvis View 1 2 3 4 1 chunk +2 lines, -22 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
brettw
More
3 years, 7 months ago (2017-05-21 04:44:21 UTC) #1
brettw
flat_set
3 years, 7 months ago (2017-05-21 04:52:39 UTC) #2
brettw
Typo
3 years, 7 months ago (2017-05-21 04:57:34 UTC) #5
brettw
Skia typo
3 years, 7 months ago (2017-05-21 04:58:25 UTC) #6
brettw
3 years, 7 months ago (2017-05-21 04:58:39 UTC) #8
brucedawson
Thanks for discovering this. lgtm.
3 years, 7 months ago (2017-05-22 21:44:10 UTC) #13
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/2895043002/80001
3 years, 7 months ago (2017-05-22 22:16:03 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 00:52:39 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2187893b82e8052ff073ee1bdb94...

Powered by Google App Engine
This is Rietveld 408576698