I'm curios is there any tool in visual studio 2015 to monitor run-time created objects?
For example in this example:
Car c = new Car();
c = new Car("black");
I want to see myself does two new keywords for single object creates two instances of a class while first one is inaccessible and just used memory? (In this case I guess answer is yes)
Also this tool can be very useful while working with com objects, because when you work with com objects in some cases if you don't write code properly some objects creat automatically while programmer is not aware of them and don't dispose at all, which is really difficult to find out how many unwanted objects exist and where they come from.
I investigated Diagnostic Tools in visual studio 2015. In Event tab I haven't find anythings useful, it seems it just provides a volume of information about execution time. What is more, Memory Usage tab is empty and doesn't show any things.
Also most of my searches in google directed me to Quick Watch or Immediate Window which is not relevant to what I'm looking for.