What is the purpose of the Call Stack window in Visual Studio?

后端 未结 4 1836
鱼传尺愫
鱼传尺愫 2021-01-05 03:09

What is the purpose of the Call Stack window in Visual Studio?

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-05 03:27

    The purpose in the call stack is to allow you to see exactly what call caused an issue to happen.

    When you look at the stack trace in an Exception, you can see the original call that caused the error to happen.

    When debugging in Visual Studio, you can navigate up and down the call stack to see what values your application is storing at different levels. It's useful in debugging how your application got to the state it is in.

提交回复
热议问题