From 295c3eb9f86b6928f82d79c6705daa2e0f61b5a4 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 12 Jul 2019 07:42:36 +0200 Subject: Natvis: improve ErrCode visualizer Change-Id: I5046a2642e2167495ea7efa0fd1b04f5e2163657 Reviewed-on: https://gerrit.libreoffice.org/75464 Reviewed-by: Mike Kaganski Tested-by: Mike Kaganski --- solenv/vs/LibreOffice.natvis | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'solenv') diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis index a9b9f561b791..549d5c96c9c7 100644 --- a/solenv/vs/LibreOffice.natvis +++ b/solenv/vs/LibreOffice.natvis @@ -469,6 +469,11 @@ - Area: {static_cast<ErrCodeArea>((m_value >> 13) & 0x01fff),en}, class: {static_cast<ErrCodeClass>((m_value >> 8) & 0x1f),en}, code: {m_value & 0xff} + None + dynamic: {(m_value >> 26) & 31UL} + + {{{*this,view(dynamic)}area: {static_cast<ErrCodeArea>((m_value >> 13) & 0x01fff),en}, class: {static_cast<ErrCodeClass>((m_value >> 8) & 0x1f),en}, code: {m_value & 0xff}}} + Warning: {*this,view(detail)} + Error: {*this,view(detail)} -- cgit