查找正在进行中的无限循环? [英] Find infinite loop in progress?

查看:114
本文介绍了查找正在进行中的无限循环?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法找出当前代码执行情况以找出无限循环?

Is there a way to find out the current execution of the code to find out the infinite loop?

我使应用程序与当前源一起运行.我附上了Visual Studio调试器.我只需要知道代码当前在哪里,就可以进一步调试它.

I have the application running with the current source. I'm attached with the visual studio debugger. I just need to know where the code is currently at so that I can debug it further.

推荐答案

如果从Visual Studio中运行它,则可以使用代码页中的暂停"按钮暂停执行.当前行将显示为绿色.

If you're running it from Visual Studio, you can pause the execution with the 'pause' button in the code page. The current line will be in green.

这篇关于查找正在进行中的无限循环?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆