gpt4 book ai didi

debugging - 尝试调试时Visual Studio 2015停止工作

转载 作者:行者123 更新时间:2023-12-03 17:18:32 24 4
gpt4 key购买 nike

我最近在Visual Studios 2015中遇到问题,当我尝试调试任何内容时,Visual Studios都会停止工作。我能够很好地构建和重建解决方案,但是当我尝试对其进行调试时,它只是停止工作并且无限期地加载。另外,当我尝试直接从debug文件夹运行exe时,我在其中打开它的Windows资源管理器的功能与Visual Studios相同。我已经尝试过使用复杂的程序以及超简单的“Hello World”程序进行此操作。我使用的语言是Visual C++。任何帮助将不胜感激,因为这真的让我很烦。

最佳答案

打开VS 2015和解决方案项目后,如果您遇到提示“Visual Studio停止工作,请关闭程序.....”的问题。
在您运行或构建以前很好的项目时;然后在命令提示符下运行以下命令

    -> Go to command prompt
-> Go to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
-> Then run devenv/resetuserdata
-> Open the VS2015 and give your MS account for starting VS2015 as new instance
-> open your solution, build and debug, then ENJOY :)

关于debugging - 尝试调试时Visual Studio 2015停止工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34232711/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com