简体   繁体   English

跳出Visual Studio调试器中的循环

[英]Step out of a loop in Visual Studio's debugger

Is there a similar functionality like the step out of a function to step out of a loop? 是否有一个类似的功能,如逐步退出循环的功能?

I am currently using VS2005, but am interested to know whether MS presented the option in any of the versions. 我目前正在使用VS2005,但我很想知道MS是否在任何版本中都提供了该选项。

No, there isn't such functionality in any version of VS.Net to date. 不,到目前为止,VS.Net的任何版本都没有这样的功能。 Setting a breakpoint after the loop or using 'Run to cursor' are both reasonable workarounds. 在循环之后设置断点或使用“运行到光标”都是合理的解决方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM