This works sometimes. The problem is that the list is usually over a 1000 DPs, and is truncated at 575. I can't find a setting to configure this. Is there any way to change where it truncates? Is there a better way to track down which DependencyProperty is holding my object?
Another way of getting the DependencyProperty information is to always collect instance data for the DependencyProperty array. The number of fields presented in the Instance fields view is currently not limited. To collect instance data for the DependencyProperty array, add it to the instance data collections rules (as can be seen in the screenshot).
Unfortunately, the data collection rules don't work correctly for array types in the current version. This has also been fixed in the newly built maintenance version, which can be downloaded from:
http://memprofiler.com/MemProfilerInstaller3_5_152.msi (or http://memprofiler.com/MemProfilerInsta ... -64bit.msi for the 64-bit version).
In the next major release of .NET Memory Profiler, dependency properties will be analysed by the profiler and presented as "property fields" in the Type instance detailes view.
SciTech Software AB
Users browsing this forum: No registered users and 35 guests