imagine that you are given a big nice app in C#, with full source code. So you want to figure out what methods are executed when you do a user event, e.g. press a button or press a hotkey or whatever. The codebase is so big that you don't feel like looking for the relevant part of the code manually, e.g. tracking down the event handler for that button.
Well, is there a straightforward automated way to obtain some sort of a log of methods being executed beginning with time T (which is when I press the button)? Could you explain and/or provide links to articles dealing specifically with this situation?