I'm looking for a way to record the execution path of a program (i.e. the branches the program/method takes in a particular execution) into a file. I need this piece of information to know what path my inputs take and make performance-related decisions.
Prof-It for C# looked very promising, but unfortunately it doesn't support the newest versions of Visual Studio.
My current plan is to generate a unique ID at every branch in the program, and during the execution, I record that id. However, this seems to be a very time-consuming process.
Smth like
Assembly.GetCallingAssembly()
Assembly.GetExecutingAssembly()
or
System.Diagnostics.StackFrame
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With