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)

前端 未结 20 1848
孤独总比滥情好
孤独总比滥情好 2020-12-10 09:56

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 threa

相关标签:
20条回答
  • 2020-12-10 10:33

    I got similar issue, after spending 2 days we figured out it was due to my application was terminated from out side at the same time I was debugging.

    0 讨论(0)
  • 2020-12-10 10:35

    Just had a similar issue in VS2019, I ended up needing to rebuild all in order to resolve the issue despite having manually built many times.

    0 讨论(0)
  • 2020-12-10 10:36

    For me, I received the error when my console application was set in Release Mode. Switching to Debug mode fixed the issue.

    0 讨论(0)
  • 2020-12-10 10:36

    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;
      }
    }
    
    0 讨论(0)
  • 2020-12-10 10:37

    Check for any case of circular dependency while injecting dependencies.

    0 讨论(0)
  • 2020-12-10 10:38
    1. First check all your common exception setting run time in your visual studio so that you can get the actual error.

    1. During loading you application check that is their any method which is throw new NotImplementedException();

    In my case i use INavigationAware which was throw new NotImplementedException(); i just remove those

    1. In you all project update all from nuget.

    2. Clean and rebuild you project.

    0 讨论(0)
提交回复
热议问题