|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Instances of class at runtimeHi,
Can someone please let me know if, during runtime, without using any counter in a class (say class constructor), is it possible to find the number of instances of a particular class (class objects) created and are not garbage collected? Thanks, Naresh >Can someone please let me know if, during runtime, without using any counter Not from within the managed code itself. It may be possible with the>in a class (say class constructor), is it possible to find the number of >instances of a particular class (class objects) created and are not garbage >collected? native profiling and/or debugging APIs. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. |
|||||||||||||||||||||||