From bce262ab46a8e485febb8e8b6311356ea7571af1 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 1 Dec 2019 19:46:13 +1100 Subject: Backport: Improve debugging by fixing visualization of SplitVector, adding a visualization for Partitioning, and removing a layer from unique_ptr. Backport of changeset 7776:ae7f68d17fc8. --- test/unit/Sci.natvis | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) (limited to 'test') diff --git a/test/unit/Sci.natvis b/test/unit/Sci.natvis index 0646036ba..d6ac2b96c 100644 --- a/test/unit/Sci.natvis +++ b/test/unit/Sci.natvis @@ -1,20 +1,33 @@ - + {{size = {lengthBody}}} lengthBody - (size) part1Length gapLength - - part1Length - body - - - lengthBody-part1Length - body+part1Length+gapLength - + + lengthBody + body[($i<part1Length)?$i:$i+gapLength] + + + + + {{size = {body->lengthBody}}} + + + body->lengthBody + body->body[($i<body->part1Length)?$i:$i+body->gapLength]+($i>stepPartition?stepLength:0) + + + + + _Mypair._Myval2 + empty + unique_ptr {*_Mypair._Myval2} + + _Mypair._Myval2 + _Mypair -- cgit v1.2.3