From d5e4bdbe7de2377130ae4953be1f30322ffcbf57 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Fri, 4 Aug 2023 17:51:01 -0700 Subject: [PATCH] Fix protobuf TaggedStringPtr display (#17008) ### Description Adjust nativs to display tagged strings. ### Motivation and Context Hard to debug without seeing names. --- cmake/external/onnx_protobuf.natvis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/external/onnx_protobuf.natvis b/cmake/external/onnx_protobuf.natvis index e973de6591..d0be02d14b 100644 --- a/cmake/external/onnx_protobuf.natvis +++ b/cmake/external/onnx_protobuf.natvis @@ -34,7 +34,7 @@ - {{ { ( *(std::string*)(ptr_ & ~0x3) } }} + {{ { *(std::string*)((uintptr_t)(ptr_) & ~0x3) } }}