Has anyone ever tried creating a class which implements the DebuggerTypeProxy attribute? I have done it successfully in c#, but even when creating simple classes in c++/cli, it doesn't seem to work. I am aware c++'s IDE doesn't recognize it, but I am compiling everything in c++/cli and then running it on c#.
#pragma once
using namespace System;
using namespace System::Diagnostics;
namespace DebuggerTypeProxytests {
ref class Class1;
ref class Class2;
[DebuggerTypeProxy(Class2::typeid)]
public ref class Class1
{
public:
String^ abc;
ref class Class2 {
public:
Class2(Class1 cls) {
}
property String^ Value { String^ get() { return "works!"; } }
};
};
}