summaryrefslogtreecommitdiff
path: root/solenv/vs
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-07-11 07:58:21 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-07-11 08:01:39 +0200
commit00c98220e624866956294e8a1af3e826808399f9 (patch)
tree783b2cc5bb1cd8a43d799da50673c654cc127003 /solenv/vs
parent241dbf223c17800ceff7023452f3b9c79e77ebc0 (diff)
Natvis: add ErrCode visualizer
Change-Id: I1717145b2ba265b114b1e347b7f88b7ac4684a2a Reviewed-on: https://gerrit.libreoffice.org/75394 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'solenv/vs')
-rw-r--r--solenv/vs/LibreOffice.natvis3
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis
index 8640779ac7bd..a9b9f561b791 100644
--- a/solenv/vs/LibreOffice.natvis
+++ b/solenv/vs/LibreOffice.natvis
@@ -468,4 +468,7 @@
<Item Name="data">*reinterpret_cast&lt;$T1 *&gt;(m_storage.dummy_.data)</Item>
</Expand>
</Type>
+ <Type Name="ErrCode">
+ <DisplayString>Area: {static_cast&lt;ErrCodeArea&gt;((m_value >> 13) &amp; 0x01fff),en}, class: {static_cast&lt;ErrCodeClass&gt;((m_value >> 8) &amp; 0x1f),en}, code: {m_value &amp; 0xff}</DisplayString>
+ </Type>
</AutoVisualizer>