-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathCppRest.natvis
70 lines (61 loc) · 3.79 KB
/
CppRest.natvis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<!--The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.-->
<Type Name="web::http::uri">
<DisplayString>({m_uri})</DisplayString>
</Type>
<Type Name="web::http::client::web_proxy">
<DisplayString Condition="m_mode==0">{"default"}</DisplayString>
<DisplayString Condition="m_mode==1">{"disabled"}</DisplayString>
<DisplayString Condition="m_mode==2">{m_address}</DisplayString>
</Type>
<Type Name="web::http::http_request">
<DisplayString>[{_m_impl._Ptr->m_method}]</DisplayString>
<Expand>
<Item Name="headers">((*((web::http::details::http_msg_base*)(&(*((web::http::details::_http_request*)((_m_impl)._Ptr)))))).m_headers).m_headers</Item>
</Expand>
</Type>
<Type Name="web::http::http_response">
<DisplayString>[{_m_impl._Ptr->m_status_code}, {_m_impl._Ptr->m_reason_phrase}]</DisplayString>
<Expand>
<Item Name="status code">_m_impl._Ptr->m_status_code</Item>
<Item Name="reason phrase">_m_impl._Ptr->m_reason_phrase</Item>
<Item Name="headers">((*((web::http::details::http_msg_base*)(&(*((web::http::details::_http_request*)((_m_impl)._Ptr)))))).m_headers).m_headers</Item>
</Expand>
</Type>
<Type Name="web::json::value">
<DisplayString Condition="(m_kind==0) && ((*((web::json::details::_Number*)((m_value)._Myptr))).m_was_int)">
Number {(*((web::json::details::_Number*)((m_value)._Myptr))).m_intval}
</DisplayString>
<DisplayString Condition="(m_kind==0) && (!(*((web::json::details::_Number*)((m_value)._Myptr))).m_was_int)">
Number {(*((web::json::details::_Number*)((m_value)._Myptr))).m_value}
</DisplayString>
<DisplayString Condition="m_kind==1">
Boolean {(*((web::json::details::_Boolean*)(m_value._Myptr))).m_value}
</DisplayString>
<DisplayString Condition="(m_kind==2) && (((&((*((web::json::details::_String*)(m_value._Myptr))).m_string))))->_Myptr==0x00000000">
String {((((&((*((web::json::details::_String*)(m_value._Myptr))).m_wstring)))))->_Myptr}
</DisplayString>
<DisplayString Condition="(m_kind==2) && (((&((*((web::json::details::_String*)(m_value._Myptr))).m_wstring))))->_Myptr==0x00000000">
String {((((&((*((web::json::details::_String*)(m_value._Myptr))).m_string)))))->_Myptr}
</DisplayString>
<DisplayString Condition="m_kind==3">
Object {(*((web::json::details::_Value*)(m_value._Myptr))).m_elements}
</DisplayString>
<DisplayString Condition="m_kind==4">
Array {(*((web::json::details::_Value*)(m_value._Myptr))).m_elements}
</DisplayString>
<DisplayString Condition="m_kind==5">Null</DisplayString>
<DisplayString Condition="m_kind==0xcccccccc">not initialized</DisplayString>
<Expand>
<ArrayItems Condition="m_kind==3">
<Size>(*((web::json::details::_Value*)((m_value)._Myptr))).m_elements._Mylast - (*((web::json::details::_Value*)((m_value)._Myptr))).m_elements._Myfirst</Size>
<ValuePointer>(*((web::json::details::_Value*)((m_value)._Myptr))).m_elements._Myfirst</ValuePointer>
</ArrayItems>
<ArrayItems Condition="m_kind==4">
<Size>(*((web::json::details::_Value*)((m_value)._Myptr))).m_elements._Mylast - (*((web::json::details::_Value*)((m_value)._Myptr))).m_elements._Myfirst</Size>
<ValuePointer>(*((web::json::details::_Value*)((m_value)._Myptr))).m_elements._Myfirst</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>