Is it possible in VS 2013 (C#) trace (to a file) execution path of my app? I mean line-by-line, somewhere about as if i were pressing F11 all the time after a breakpoint, writing down lines manually... Resulting log may be huge, i know, but nevertheless?
Of course i want source code lines, not MSIL.
Yes this is possible, however this requires access to the sourcefile, if you really need the sourcecode.
Use the CallerInformationAttributes
C# 4.5 Required:
Then use it like this:
This example only works with Begin and End in the same File though, aynthing else will be really hard to accomplish unless you pass some object arround...