title: How can I see what references are keeping my ref objects from being deleted in c++/cx?
body: <p>I use <code>myclass^</code> in one place in my UWP project, but I suspected that they weren't actually being deleted when they went out of scope. So I made a destructor that called <code>__debugbreak()</code> for <code>myclass^</code> to make sure that was getting called. Instead of the 40 calls I should be getting for my project, I got one. To my understanding, types with hats (^) are basically shared_ptrs so if my object isn't getting deleted, it's probably because something else in the project holds a reference to it. How can I diagnose this and see what other references to the object there are in Visual Studio? </p>