Step through a program backwards after an Exception has occurred - Visual Studio

前端 未结 4 1195
孤城傲影
孤城傲影 2021-01-11 17:43

Is there a way to step back through a program from the point where an error/Exception has occurred? Or look at the sequence in which the methods were called before the erro

4条回答
  •  渐次进展
    2021-01-11 18:24

    If you have VS2010 Ultimate, the "Intellitrace" functionality allows you to do exactly that. It basically logs a huge amount of execution data (up to and including every method call & parameter made) and allows you to step back in time to examine variable values at those points.

提交回复
热议问题