From 7cdba1f2d8eb827ef5ad2fea96617c9c0a12a2ca Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Mon, 30 Oct 2023 17:37:59 +0100 Subject: [PATCH] COMP: Fix XML namespace of Natvis file (Visual Studio Debug Visualizers) The ITK Debug Visualizers for Visual Studio do not seem to work when the XML namespace name starts with "https" (rather than just "http"). This was found by enabling "Natvis diagnostic messages" in Visual Studio 2019 (version 16.11.31). It says: > ITK.natvis(4,2): Fatal error: Expected element with namespace 'http://schemas.microsoft.com/vstudio/debugger/natvis/2010'. Reverts the change of this particular file from pull request https://github.com/InsightSoftwareConsortium/ITK/pull/3428 commit 9cd0f2053f0cf181ec4412bf896301faf0cc2092 "ENH: Use https instead of http when https works", May 18, 2022. -- With help from my colleagues at LKEB, Leiden University Medical Center. --- Utilities/Debugger/ITK.natvis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Debugger/ITK.natvis b/Utilities/Debugger/ITK.natvis index d229e34aa375..ba055e5a29d1 100644 --- a/Utilities/Debugger/ITK.natvis +++ b/Utilities/Debugger/ITK.natvis @@ -1,7 +1,7 @@ - + [{m_InternalArray[0]}]