From dccdf4b00ad9cfc9f27d9730b67de8a68484af12 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 setting the option "Natvis diagnostic messages" to "Verbose", in either Visual Studio 2019 (version 16.11.31) or Visual Studio 2022 (version 17.7.6). 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 colleagues of mine 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 d229e34aa37..ba055e5a29d 100644 --- a/Utilities/Debugger/ITK.natvis +++ b/Utilities/Debugger/ITK.natvis @@ -1,7 +1,7 @@ - + [{m_InternalArray[0]}]