diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-07-06 13:39:18 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-07-06 12:42:52 +0200 |
commit | 330a022e8bcd413d0bdc0b45916503ddfee5d0cc (patch) | |
tree | 587788f0f9a0c6df14efc9a4ed62055143219184 /solenv/vs | |
parent | f8a76d218305a56d15b82b9dac4fafa558872780 (diff) |
LibreOffice.natvis: several new visualisers
Change-Id: I451797b987ec7a8ffa069cbf34f0c22d6c1ce280
Reviewed-on: https://gerrit.libreoffice.org/39628
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.natvis | 47 |
1 files changed, 38 insertions, 9 deletions
diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis index 3326c1fcfd9c..a58eaef9f6a4 100644 --- a/solenv/vs/LibreOffice.natvis +++ b/solenv/vs/LibreOffice.natvis @@ -142,20 +142,49 @@ </Expand> </Type> <Type Name="SwNode"> - <DisplayString>{{SwNode}}</DisplayString> + <DisplayString>{{SwNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> + <Expand> + <Item Name="Nodes">static_cast< SwNodes* >(m_pBlock->pBigArr)</Item> + </Expand> </Type> <Type Name="SwEndNode"> - <DisplayString>{{SwEndNode}}</DisplayString> + <DisplayString>{{SwEndNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> </Type> <Type Name="SwStartNode"> - <DisplayString Condition="m_eStartNodeType == 1">{{SwTableBoxStartNode}}</DisplayString> - <DisplayString Condition="m_eStartNodeType == 2">{{SwFlyStartNode}}</DisplayString> - <DisplayString Condition="m_eStartNodeType == 3">{{SwFootnoteStartNode}}</DisplayString> - <DisplayString Condition="m_eStartNodeType == 4">{{SwHeaderStartNode}}</DisplayString> - <DisplayString Condition="m_eStartNodeType == 5">{{SwFooterStartNode}}</DisplayString> - <DisplayString>{{SwStartNode}}</DisplayString> + <DisplayString Condition="m_eStartNodeType == 1">{{SwTableBoxStartNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> + <DisplayString Condition="m_eStartNodeType == 2">{{SwFlyStartNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> + <DisplayString Condition="m_eStartNodeType == 3">{{SwFootnoteStartNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> + <DisplayString Condition="m_eStartNodeType == 4">{{SwHeaderStartNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> + <DisplayString Condition="m_eStartNodeType == 5">{{SwFooterStartNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> + <DisplayString>{{SwStartNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> + </Type> + <Type Name="SwContentNode"> + <DisplayString>{{SwContentNode {m_pBlock->nStart + m_nOffset}}}</DisplayString> </Type> <Type Name="SwTextNode"> - <DisplayString>{{SwTextNode: {m_Text}}}</DisplayString> + <DisplayString>{{SwTextNode {m_pBlock->nStart + m_nOffset}: {m_Text}}}</DisplayString> + </Type> + <Type Name="SwNodeIndex"> + <DisplayString>{{{*m_pNode}}}</DisplayString> + </Type> + <Type Name="SwIndex"> + <DisplayString>{{{m_nIndex}}}</DisplayString> + </Type> + <Type Name="SwPosition"> + <DisplayString>{{Node: {nNode} Content: {nContent}}}</DisplayString> + </Type> + <Type Name="SwPaM"> + <DisplayString>{{Point: {*m_pPoint} Mark: {*m_pMark}}}</DisplayString> + </Type> + <Type Name="SwFrameFormats"> + <DisplayString Condition="m_Array.node_count == 0">empty</DisplayString> + <DisplayString>Size: {m_Array.node_count}</DisplayString> + <Expand> + <Item Name="[size]">m_Array.node_count</Item> + <IndexListItems> + <Size>m_Array.node_count</Size> + <ValueNode>**(SwFrameFormat**)((char*)(m_PosIndex.ptrs.spc.data_[$i]) - 0x10)</ValueNode> + </IndexListItems> + </Expand> </Type> </AutoVisualizer>
\ No newline at end of file |