[英]Local windows debugger replaced with attach and cannot run and debug my program
For some ambiguous reason MS visual studio 2013 has decided to replace local windows debugger with the word attach next to the big green play button. 由于某些不明确的原因,MS Visual Studio 2013已决定用绿色大播放按钮旁边的attach替换本地Windows调试器。 I can no longer run and debug my program that I am trying to work on at the moment.
我现在无法再运行和调试我要尝试的程序。 I have tried tooth and nail for the past hour to fix the issue with no resolve.
在过去的一个小时里,我已经尝试过用牙齿和指甲来解决问题,但仍未解决。 I would simply like to know how to get the "local windows debugger" back if that is possible.
如果可能的话,我只是想知道如何取回“本地Windows调试器”。
I just had this problem, every time I went to open up my file like I normally do it came up with a plain page and instead of the start button it was the attach button. 我只是遇到了这个问题,每次我像往常一样打开文件时,它会显示一个普通页面,而不是开始按钮,而是附加按钮。
To solve it all I did was, opened my projects, located where the folder was for the programme I wanted to access. 为了解决这个问题,我打开了项目,位于要访问的程序所在的文件夹中。
Then I opened the .snl and when the blank screen and the attach button appeared again I went to the view drop down menu and clicked on solution explorer. 然后,我打开.snl,当黑屏和附加按钮再次出现时,我进入视图下拉菜单,然后单击解决方案资源管理器。 Then it opened to my right and I opened the tab that had the console name on it and finally I clicked on file name which I had named.
然后它在我的右边打开,我打开了上面带有控制台名称的选项卡,最后我单击了我命名的文件名。
By doing that my code appeared and I was able to start my programme. 通过这样做,我的代码出现了,我得以启动程序。 To prevent this in the future I pinned my file to the top of the bar so it would stay like that once it was closed.I hope this was of some help.
为了防止将来发生这种情况,我将文件固定在栏的顶部,以便文件关闭后仍保持原来的状态,希望对您有所帮助。
This happened to me before and I found that if you accidentally saved the .sln file the last time you closed Visual Studio, the .vcxproj file will not let you run and debug. 这以前发生在我身上,我发现如果上次关闭Visual Studio时不小心保存了.sln文件,则.vcxproj文件将不允许您运行和调试。
If this is your issue, you should see a .sln file in the same directory as your project file. 如果这是您的问题,则应该在与项目文件相同的目录中看到一个.sln文件。 Delete the .sln file, then open your .vcxproj project.
删除.sln文件,然后打开.vcxproj项目。 The normal menu options should reappear.
普通菜单选项应重新出现。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.