I have a regular C# code. I have no exceptions. I want to programmatically log the current stack trace for debugging purpose. Example:

public void executeMethod() 
{
    logStackTrace();
    method();
}

7 Answers
7

Leave a Reply

Your email address will not be published. Required fields are marked *