Find taregt of event

Questions about YourKit .NET Profiler
Post Reply
boba
Posts: 1
Joined: Tue Oct 04, 2011 5:18 pm

Find taregt of event

Post by boba »

Hi,

I have a memory leak caused by a PropertyChanged event. YourKit tells me the type of object that is sourcing the event, and the type of object that is handling the event. But it doesn't say (as near as I can tell) what method is handling the event. I presume that information would be in the _invocationList of System.ComponentModel.PropertyChangedEventHandler. Is there a way that I can look at that value in YourKit?

Thanks,
Bob
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Find taregt of event

Post by Vladimir Kondratyev »

You can open System.ComponentModel.PropertyChangedEventHandler object (Ctrl+N) and examine values of its fields http://www.yourkit.com/docs/net50/help/ ... plorer.jsp
Post Reply