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

Side by Side Diff: tools/win/DebugVisualizers/chrome.natvis

Issue 2895043002: Improve Visual Studio debug visualizers (Closed)
Patch Set: Skia typo Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/win/DebugVisualizers/BUILD.gn ('k') | tools/win/DebugVisualizers/skia.natvis » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8" ?> 1 <?xml version="1.0" encoding="utf-8" ?>
2 <AutoVisualizer 2 <AutoVisualizer
3 xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> 3 xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
4 <Type Name="gfx::Point"> 4 <Type Name="gfx::Point">
5 <AlternativeType Name="gfx::PointF"/> 5 <AlternativeType Name="gfx::PointF"/>
6 <DisplayString>({x_}, {y_})</DisplayString> 6 <DisplayString>({x_}, {y_})</DisplayString>
7 <Expand>
8 <Item Name="X">x_</Item>
9 <Item Name="Y">y_</Item>
10 </Expand>
11 </Type> 7 </Type>
12 <Type Name="gfx::Size"> 8 <Type Name="gfx::Size">
13 <AlternativeType Name="gfx::SizeF"/> 9 <AlternativeType Name="gfx::SizeF"/>
14 <DisplayString>({width_}, {height_})</DisplayString> 10 <DisplayString>({width_}, {height_})</DisplayString>
15 <Expand>
16 <Item Name="Width">width_</Item>
17 <Item Name="Height">height_</Item>
18 </Expand>
19 </Type> 11 </Type>
20 <Type Name="gfx::Rect"> 12 <Type Name="gfx::Rect">
21 <AlternativeType Name="gfx::RectF"/> 13 <AlternativeType Name="gfx::RectF"/>
22 <DisplayString>({origin_.x_}, {origin_.y_}) x ({size_.width_}, {size_.height _})</DisplayString> 14 <DisplayString>({origin_.x_}, {origin_.y_}) x ({size_.width_}, {size_.height _})</DisplayString>
23 <Expand>
24 <Item Name="Left">origin_.x_</Item>
25 <Item Name="Top">origin_.y_</Item>
26 <Item Name="Width">size_.width_</Item>
27 <Item Name="Height">size_.height_</Item>
28 </Expand>
29 </Type>
30 <Type Name="aura::Window::Value">
31 <DisplayString>{name,s}: {value}</DisplayString>
32 <Expand/>
33 </Type>
34 <Type Name="aura::Window">
35 <DisplayString>{name_,s}</DisplayString>
36 <Expand>
37 <Item Name="Name">name_</Item>
38 <Item Name="Id">id_</Item>
39 <Item Name="Parent">parent_</Item>
40 <Item Name="Children">children_</Item>
41 <Item Name="Bounds">bounds_</Item>
42 <Item Name="Type">type_</Item>
43 <Item Name="Visible">visible_</Item>
44 <Item Name="Transparent">transparent_</Item>
45 <!--<Synthetic Name="Property Map">
46 <DisplayString>Size = {prop_map_._Mysize}</DisplayString>
47 <Expand>
48 <TreeItems>
49 <Size>prop_map_._Mysize</Size>
50 <HeadPointer>prop_map_._Myhead-&gt;_Parent</HeadPointer>
51 <LeftPointer>_Left</LeftPointer>
52 <RightPointer>_Right</RightPointer>
53 <ValueNode Condition="_Isnil == 0">_Myval.second</ValueNode>
54 </TreeItems>
55 </Expand>
56 </Synthetic>-->
57 <Item Name="Layer">layer_</Item>
58 </Expand>
59 </Type>
60 <Type Name="scoped_ptr&lt;*,*&gt;">
61 <DisplayString Condition="impl_.data_.ptr == 0">null</DisplayString>
62 <DisplayString>{impl_.data_.ptr}</DisplayString>
63 <Expand>
64 <ExpandedItem>impl_.data_.ptr</ExpandedItem>
65 </Expand>
66 </Type> 15 </Type>
67 <Type Name="scoped_refptr&lt;*&gt;"> 16 <Type Name="scoped_refptr&lt;*&gt;">
68 <DisplayString Condition="ptr_ == 0">null</DisplayString> 17 <DisplayString Condition="ptr_ == 0">null</DisplayString>
69 <DisplayString>[{((base::subtle::RefCountedBase*)ptr_)-&gt;ref_count_}] {(vo id*)ptr_} {*ptr_}</DisplayString> 18 <DisplayString>[{((base::subtle::RefCountedBase*)ptr_)-&gt;ref_count_}] {(vo id*)ptr_} {*ptr_}</DisplayString>
70 <Expand> 19 <Expand>
71 <Item Name="Ptr">ptr_</Item> 20 <Item Name="Ptr">ptr_</Item>
72 <Item Name="RefCount">((base::subtle::RefCountedBase*)ptr_)-&gt;ref_count_ </Item> 21 <Item Name="RefCount">((base::subtle::RefCountedBase*)ptr_)-&gt;ref_count_ </Item>
73 </Expand> 22 </Expand>
74 </Type> 23 </Type>
75 <Type Name="base::Optional&lt;*&gt;"> 24 <Type Name="base::Optional&lt;*&gt;">
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 <DisplayString>{(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerS econd)}</DisplayString> 124 <DisplayString>{(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerS econd)}</DisplayString>
176 </Synthetic> 125 </Synthetic>
177 <Synthetic Name="Milliseconds"> 126 <Synthetic Name="Milliseconds">
178 <DisplayString>{(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerM illisecond)}</DisplayString> 127 <DisplayString>{(int)(delta_ / {,,base.dll}base::Time::kMicrosecondsPerM illisecond)}</DisplayString>
179 </Synthetic> 128 </Synthetic>
180 <Item Name="Microseconds">delta_</Item> 129 <Item Name="Microseconds">delta_</Item>
181 </Expand> 130 </Expand>
182 </Type> 131 </Type>
183 <Type Name="GURL"> 132 <Type Name="GURL">
184 <DisplayString>{spec_}</DisplayString> 133 <DisplayString>{spec_}</DisplayString>
134 </Type>
135 <Type Name="base::ManualConstructor&lt;*&gt;">
136 <!-- $T1 expands to the first "*" in the name which is the template
137 type. Use that to cast to the correct value. -->
138 <DisplayString>{*($T1*)space_.data_}</DisplayString>
185 <Expand> 139 <Expand>
186 <Item Name="Spec">spec_</Item> 140 <ExpandedItem>*($T1*)space_.data_</ExpandedItem>
187 <Item Name="IsValid">is_valid_</Item> 141 </Expand>
188 <Synthetic Name="Scheme"> 142 </Type>
189 <DisplayString 143 <Type Name="base::internal::flat_tree&lt;*&gt;">
190 Condition="parsed_.scheme.len==-1">undefined</DisplayString> 144 <AlternativeType Name="base::flat_set&lt;*&gt;"/>
191 <DisplayString>spec_._Myres[parsed_.scheme.begin][</DisplayString> 145 <DisplayString>{impl_.body_}</DisplayString>
192 </Synthetic> 146 <Expand>
193 <Synthetic Name="Username"> 147 <ExpandedItem>impl_.body_</ExpandedItem>
194 <DisplayString 148 </Expand>
195 Condition="parsed_.username.len==-1">undefined</DisplayString> 149 </Type>
196 <DisplayString>spec_._Myres[parsed_.username.begin][</DisplayString> 150 <Type Name="base::flat_map&lt;*&gt;">
197 </Synthetic> 151 <DisplayString>{impl_.body_}</DisplayString>
198 <Synthetic Name="Password"> 152 <Expand>
199 <DisplayString 153 <ExpandedItem>impl_.body_</ExpandedItem>
200 Condition="parsed_.password.len==-1">undefined</DisplayString>
201 <DisplayString>spec_._Myres[parsed_.password.begin][</DisplayString>
202 </Synthetic>
203 <Synthetic Name="Host">
204 <DisplayString
205 Condition="parsed_.host.len==-1">undefined</DisplayString>
206 <DisplayString>spec_._Myres[parsed_.host.begin][</DisplayString>
207 </Synthetic>
208 <Synthetic Name="Port">
209 <DisplayString
210 Condition="parsed_.port.len==-1">undefined</DisplayString>
211 <DisplayString>spec_._Myres[parsed_.port.begin][</DisplayString>
212 </Synthetic>
213 <Synthetic Name="Path">
214 <DisplayString
215 Condition="parsed_.path.len==-1">undefined</DisplayString>
216 <DisplayString>spec_._Myres[parsed_.path.begin][</DisplayString>
217 </Synthetic>
218 <Synthetic Name="Query">
219 <DisplayString
220 Condition="parsed_.query.len==-1">undefined</DisplayString>
221 <DisplayString>spec_._Myres[parsed_.query.begin][</DisplayString>
222 </Synthetic>
223 <Synthetic Name="Ref">
224 <DisplayString Condition="parsed_.ref.len==-1">undefined</DisplayString>
225 <DisplayString>spec_._Myres[parsed_.ref.begin][</DisplayString>
226 </Synthetic>
227 </Expand> 154 </Expand>
228 </Type> 155 </Type>
229 <Type Name="base::Value"> 156 <Type Name="base::Value">
230 <DisplayString>{type_}</DisplayString> 157 <DisplayString Condition="type_ == NONE">NONE</DisplayString>
158 <DisplayString Condition="type_ == BOOLEAN">BOOLEAN {bool_value_}</DisplaySt ring>
159 <DisplayString Condition="type_ == INTEGER">INTEGER {int_value_}</DisplayStr ing>
160 <DisplayString Condition="type_ == DOUBLE">DOUBLE {double_value_}</DisplaySt ring>
161 <DisplayString Condition="type_ == STRING">STRING {string_value_}</DisplaySt ring>
162 <DisplayString Condition="type_ == BINARY">BINARY {binary_value_}</DisplaySt ring>
163 <DisplayString Condition="type_ == DICTIONARY">DICTIONARY {dict_}</DisplaySt ring>
164 <DisplayString Condition="type_ == LIST">LIST {list_}</DisplayString>
231 <Expand> 165 <Expand>
232 <Item Name="Type">type_</Item> 166 <Item Name="[type]">type_</Item>
167 <Item Condition="type_ == BOOLEAN" Name="[boolean]">bool_value_</Item>
168 <Item Condition="type_ == INTEGER" Name="[integer]">int_value_</Item>
169 <Item Condition="type_ == DOUBLE" Name="[double]">double_value_</Item>
170 <Item Condition="type_ == STRING" Name="[string]">string_value_</Item>
171 <Item Condition="type_ == BINARY" Name="[binary]">binary_value_</Item>
172 <!-- Put the members for dictionary and list directly inline without
173 requiring a separate expansion to view. -->
174 <ExpandedItem Condition="type_ == DICTIONARY">dict_</ExpandedItem>
175 <ExpandedItem Condition="type_ == LIST">list_</ExpandedItem>
233 </Expand> 176 </Expand>
234 </Type> 177 </Type>
235 <Type Name="base::Value"> 178 </AutoVisualizer>
236 <DisplayString>Fundamental</DisplayString>
237 <Expand>
238 <ExpandedItem>(base::Value*)this,nd</ExpandedItem>
239 <Item Name="Int">integer_value_</Item>
240 <Item Name="Bool">boolean_value_</Item>
241 <Item Name="Double">double_value_</Item>
242 </Expand>
243 </Type>
244 <Type Name="base::Value">
245 <DisplayString>String ({value_})</DisplayString>
246 <Expand>
247 <ExpandedItem>(base::Value*)this,nd</ExpandedItem>
248 <Item Name="Value">value_</Item>
249 </Expand>
250 </Type>
251 <Type Name="base::BinaryValue">
252 <DisplayString>Binary ({size_} byte(s))</DisplayString>
253 <Expand>
254 <ExpandedItem>(base::Value*)this,nd</ExpandedItem>
255 <Item Name="Data">buffer_</Item>
256 </Expand>
257 </Type>
258 <Type Name="base::DictionaryValue">
259 <DisplayString>Dictionary ({dictionary_._Mysize} entries)</DisplayString>
260 <Expand>
261 <ExpandedItem>dictionary_</ExpandedItem>
262 </Expand>
263 </Type>
264 <Type Name="base::ListValue">
265 <DisplayString>List ({list_._Mysize} entries)</DisplayString>
266 <Expand>
267 <ExpandedItem>list_</ExpandedItem>
268 </Expand>
269 </Type>
270 </AutoVisualizer>
OLDNEW
« no previous file with comments | « tools/win/DebugVisualizers/BUILD.gn ('k') | tools/win/DebugVisualizers/skia.natvis » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698