question

AbhijitDamle-7137 avatar image
0 Votes"
AbhijitDamle-7137 asked DanielZhang-MSFT edited

Can more than 1 DebuggerTypeProxyAttribute be applied to a class to display 2 different debug views of same class object?

From definition https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debuggertypeproxyattribute?view=netframework-4.6.1 I can see that single class/struct can have multiple DebuggerTypeProxyAttribute. But If I apply multiple DebuggerTypeProxyAttribute to a class only 1 of them always takes effect. So is it possible to find an example of multiple DebuggerTypeProxyAttribute being applied to single class to display more than 1 debug views of the same class object in visual studio watch window?

dotnet-visual-basicvs-debugging
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.

0 Answers