“应用程序处于中断模式” VS2015中的错误 [英] "The application is in break mode" error in VS2015

查看:1027
本文介绍了“应用程序处于中断模式” VS2015中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。在尝试调试单元测试方法时,我面临着奇怪的错误应用程序处于中断模式。即使点击链接,如建议的操作所示,它只是断开连接,没有任何反应。



建议的操作链接是 -

1.显示诊断工具

2.检查运行TASKS

3.继续执行



对不起,我不知道如何在此处附上截图。有没有人遇到同样的问题并且知道解决方案?



我尝试过的事情:



我搜索了这个错误,发现一些建议在Debug-> Options-> General中取消启用我的代码选项,但这不能解决我的问题。

Hi. I am facing strange error "the application is in break mode" when trying to debug my unit test methods. Even clicking on the link as shown in suggested actions it just disconnects and nothing happens.

Suggested action links are -
1. Show Diagnostic Tools
2. Check fro running TASKS
3. Continue execution

Sorry I am not sure how to attach screenshot here. Does anyone faced the same issue and aware of resolution?

What I have tried:

I googled this error and found few suggestions to untick "Enable Just My Code" option in Debug->Options->General, but this does not resolve my issue.

推荐答案

它是一个Windows窗体应用程序吗?



如果是这样,请检查类< public partial class Form1:Form>是.cs文件中的第一个。



您还可以查看Program.cs ...
Is it a Windows Form app?

if so, check if the class <public partial class Form1 : Form> is the first in your .cs file.

You may also look at the Program.cs...


这篇关于“应用程序处于中断模式” VS2015中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆