What's the difference between “Stop Debugging” and “Terminate All” in Visual Studio?

删除回忆录丶 提交于 2019-12-18 07:31:09

问题


As the title asks, what's the difference between "Stop Debugging" and "Terminate All" in Visual Studio (I know those options are available in 2008, but not sure if it's called the same or something different in 2005 or 2010) ?


回答1:


I think Terminate All will kill all attached processes in Visual Studio while the former just stops debugging but leaves the processes running.

Update: A better answer from http://msdn.microsoft.com/en-us/library/406kfbs1.aspx

Stop Debugging terminates the process you are debugging if the program was launched from Visual Studio. If you attached to the process, instead of launching it from Visual Studio, the process continues running. If you want to terminate attached processes, you can terminate a single process from the Processes window or terminate all attached process with the Terminate All command.



来源:https://stackoverflow.com/questions/2995235/whats-the-difference-between-stop-debugging-and-terminate-all-in-visual-stu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!