How to analyze multi-way tree in natvis?

zyclincoln 1 Reputation point
2022-04-28T04:05:39.24+00:00

Hello, guys.

I want to write a custom .natvis to display the contents of a custom object type. Since the object type is organized as a multi-way tree, I cannot use the [TreeItem] in natvis. The [TreeItem] in nativs seems only support binary tree.
So is there any method to traverse a multi-way tree and display all its contents?

Sincerely,
zyclincoln

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
771 questions
{count} votes