How to list live object instances while an application is running?
C#
3
Posts
3
Posters
0
Views
1
Watching
-
while an application is running, I was looking for a way I can list the objects instantiated by that application, only live once. any help?
-
while an application is running, I was looking for a way I can list the objects instantiated by that application, only live once. any help?
You mean what's not yet been garbage collected ? I'm not sure if you can do that.
Christian Graus Driven to the arms of OSX by Vista.
-
while an application is running, I was looking for a way I can list the objects instantiated by that application, only live once. any help?
You can use the CLR Profiling API to do that - ICorProfilerCallback2[^]
Regards Senthil [MVP - Visual C#] _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro