Your app has entered a break state, but there is n

2019-01-26 02:48发布

Visual Studio 2017 breaks in debug mode and displays the message:

Your app has entered a break state, but there is no code to show because all threads were executing external code (typically system or framework code).

The message is in the Break Mode Window.

What to do?

13条回答
Explosion°爆炸
2楼-- · 2019-01-26 03:10

I got this when I accidentally set the startup project to a class library instead of the end project (in this case, a WPF application).

查看更多
走好不送
3楼-- · 2019-01-26 03:13

check your Ip address (it must be the same as the listening adress if you'r not using the loopbach address)

查看更多
做自己的国王
4楼-- · 2019-01-26 03:14

Observed same error and resolved it by:

  • Removing duplicate configs from section
  • Removing extra/unused characters (by mistakenly entered)
查看更多
三岁会撩人
5楼-- · 2019-01-26 03:18

In my case I just need to restore the list of exception settings to the default settings. Restore button

查看更多
爷的心禁止访问
6楼-- · 2019-01-26 03:18

This solution is for people who get this error in WPF application. I got this error when i moved mainwindow.xaml to view folder and forgot to update in App.Xaml. after updating as StartupUri="View/MainWindow.xaml" the main window loaded without warning.

查看更多
地球回转人心会变
7楼-- · 2019-01-26 03:20

This type of issue please check property and Accessories. We should return correct field and check value field.

Example:

private string NameField;
public string Name
{
  get
  {
  return NameField;
  }
  set
  {
  nameField=value;
  }
}
查看更多
登录 后发表回答