Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法找出当前执行的代码来找出无限循环?
我有使用当前源运行的应用程序。我附有视觉工作室调试器。我只需要知道代码当前的位置,以便进一步调试它。
如果您从 Visual Studio 运行它,您可以使用代码页中的“暂停”按钮暂停执行。当前行将显示为绿色。