I would like to be able to find all the surviving references of some kind of object in any application without having to use an external memory profiler.
My basic idea is that, I just want to be able to list all the alived UserControls inside my app with the name and the object size, this will allow me to spot all the unused controls witch are not really dead :)
After some google researchs I found something that should serve my interests.
icorprofilercallback4::SurvivingReferences
Looks like this is pure C++ and I was not able to find any king of sample.
Did someone already try to do that? I am on the right direction to look for a solution?
Thx for you interest in my question.