开发者

How to know what objects have reference to same object (In Debug Mode)?

开发者 https://www.devze.com 2023-03-10 09:30 出处:网络
I need to find all places which have a link to same object. I need to do this because my object never been garbag开发者_运维问答e collected. You should try using a memory profiler for that. Ants Memor

I need to find all places which have a link to same object. I need to do this because my object never been garbag开发者_运维问答e collected.


You should try using a memory profiler for that. Ants Memory Profiler and Memprofiler are decent.

Also, check this question: Track all object references in C#

0

精彩评论

暂无评论...
验证码 换一张
取 消