question

zyclincoln-7172 avatar image
0 Votes"
zyclincoln-7172 asked TianyuSun-MSFT commented

How to analyze multi-way tree in natvis?

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

vs-debugging
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @zyclincoln-7172 , welcome to Microsoft Q&A form. I think traversing a multi-way tree is not possible for customized views in .natvis file, as it seems no appropriate elements are provided in natvis.

0 Votes 0 ·

0 Answers