175 Views
While debugging code “Who called my function ?” is a million dollar question. Knowing the origin of your function call is in many cases the first step in debugging any code. Until now a few ways of doing this were to look at the CallStack in visual studio or a debugger or the most common Exception.StackTrace. .NET 4.5 has added a new feature with which a function can now know who is calling it.
0 comments