问题
Is there a way to find out the current execution of the code to find out the infinite loop?
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.
回答1:
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.
来源:https://stackoverflow.com/questions/2767750/find-infinite-loop-in-progress