Activity overview
Latest activity by ScottLangham
Ok. Great, it would be a useful feature. Thanks. / comments
Ok. Great, it would be a useful feature. Thanks.
Hi Alex.
What you described is what I thought should happen too, but it doesn't.
In visual studio created a C# Windows Application and changed Form1.cs to this:
namespace WindowsApplication1
{
class A
{
public A(string n)
{
name = n;
}
string name;
public B b;
};
class B
{
};
public partial class Form1 : Form
{
A a1 = new A("a1");
A a2 = new A("a2");
A a3 = new A("a3");
A a4 = new A("a4");
A a5 = new A("a5");
public Form1()
{
InitializeComponent();
a3.b = new B();
}
}
}
Then followed these steps:
* Run this app with the memory profiler
* Capture a snapshot
* Go to the class view
* Select the 'B' class and go to the instance view
* There should only be one instance, select it and go to the object retention graph
* There is an A object referencing the B instance. Select the A object, right click and choose ' Show object retention graph for this A'.
* Now, press on the 'Instance List' button to switch back to that view.
=> No row seems to be selected. The top row has the '+' icon to the left of the class name. I don't think that means that row is selected though. If I press on the + to see the properties of that instance, it says it's name is "a1".
=> The instance that should be referencing the B instance should have "a3" as its name. I don't appear to be able to find this information from ANTS memory profiler.
Any further help would be appreciated.
-Regards,
Scott / comments
Hi Alex.
What you described is what I thought should happen too, but it doesn't.
In visual studio created a C# Windows Application and changed Form1.cs to this:
namespace WindowsApplication1
{
clas...
Hi Alex. Thanks for the response.
I have version 5.1.0.15 of ANTS memory profiler (hah.. nice easter egg in the about box), and it does not behave as you describe.
When on the Class List, if I move focus away from the find box, it always clears. It clears regardless of whether I press the enter key or not, and clicking on different items in the class list also seems to make no difference as to whether it clears or not.
It would be nice if it didn't try to out-smart me by clearing itself.
Regards,
-Scott / comments
Hi Alex. Thanks for the response.
I have version 5.1.0.15 of ANTS memory profiler (hah.. nice easter egg in the about box), and it does not behave as you describe.
When on the Class List, if I move...
Have have a similar problem, but it's not with the filter, it's with the find text box. I enter some text in the find window, and then when I click on anything in the list, the find text box clears itself. I have to go and enter the stuff again to re-apply the find filtering. / comments
Have have a similar problem, but it's not with the filter, it's with the find text box. I enter some text in the find window, and then when I click on anything in the list, the find text box clears...
How to find instance from object retention graph?
In the instance list I've found an instance that I was expecting should have been cleaned up.
So, I looked at the object retention graph for this instance. There's an interesting instance in the li...