Stack Trace

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ycinar
    New Member
    • Oct 2007
    • 39

    Stack Trace

    Is there a nice and easy way to do stack trace in Visual Studio .Net 2003? I am investigating a crash and would like to know what function is calling what function right before crash?
  • Studlyami
    Recognized Expert Contributor
    • Sep 2007
    • 464

    #2
    the visual studios debugger has the "call stack" which shows you that information. When you run the program in debug mode it should come up with the error and allow you to see the call stack.

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      Learn how to use the Visual Studio debugger.

      In a debug session you can click on Debug on the task bar and select "Call Stack" from the menu. The yellow arrow is where you are. If you click on the previous funciton, the debugger will take you to the linen of code where the call occrred and identify it with a green triangle.

      Please do not get in the habit of putting nifty displays all over your code.

      Comment

      Working...