[Libreoffice-commits] core.git: solenv/vs
Mike Kaganski
mike.kaganski at collabora.com
Thu Jul 6 10:43:24 UTC 2017
solenv/vs/LibreOffice.natvis | 47 ++++++++++++++++++++++++++++++++++---------
1 file changed, 38 insertions(+), 9 deletions(-)
New commits:
commit 330a022e8bcd413d0bdc0b45916503ddfee5d0cc
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Thu Jul 6 13:39:18 2017 +0300
LibreOffice.natvis: several new visualisers
Change-Id: I451797b987ec7a8ffa069cbf34f0c22d6c1ce280
Reviewed-on: https://gerrit.libreoffice.org/39628
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
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
More information about the Libreoffice-commits
mailing list