Instance value only shows up as "string"?
brianpe
Posts: 2
Hello -- it's my first time with ANTS Memory Profiler. I'm looking at a leak where new strings are introduced. But strings are common, so I would either need to see the value of the string or the allocation stack of who created it. in the "what to look for in the instance list" section of documentation it shows a nice screen grab that shows a small + sign for values where you can expand them, and it states that for primitives the actual values are shown. But in my case, I don't see the string value. I only see "string" printed in the value column.
Is there any way to see the values of the strings?
Note: I'm running against a pre-release version of .NET 4, which may complicate things. My app can't run against prior versions of .NET.
Is there any way to see the values of the strings?
Note: I'm running against a pre-release version of .NET 4, which may complicate things. My app can't run against prior versions of .NET.
Comments
You should still be able to determine what the strings are being used for by looking at the class reference explorer (for the string class as a whole; it can also be used to help narrow down the instance list to specific sets of strings) or the object retention graph (for a specific string).
Software Developer
Red Gate Software Ltd.