如何迭代的对象present在.NET托管堆? [英] How to iterate on the objects present in the .NET managed heap?

查看:97
本文介绍了如何迭代的对象present在.NET托管堆?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有对.NET API迭代的管理对象的方式present在托管堆中?

Is there a way in the .NET API to iterate on the managed objects present in the managed heap?

我们想补充日常在某些点上我们的节目,它检查托管堆中的某些对象的presence。

We would like to add a routine at some points in our program which checks the presence of some objects in the managed heap.

推荐答案

您会需要使用的调试/分析API 做到这一点 - 我不会推荐一个正常的应用程序

You'd need to use the debugging/profiling API to do this - which I wouldn't recommend for a "normal" application.

这篇关于如何迭代的对象present在.NET托管堆?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆