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 1849
孤独总比滥情好
孤独总比滥情好 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:39

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

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

    Error: IOException Cannot locate resource

    Most of the time this error occur when using visual studio form applications.

    To solve this error you can go to your App.xaml file and edit SratupUri to your current xaml form name.

    <Application x:Class="AppName.App"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 StartupUri="MainWindow.xaml">
        <Application.Resources>
        </Application.Resources>
    </Application>
    
    0 讨论(0)
  • 2020-12-10 10:41

    This occurred for me when I placed the connectionStrings config item in the wrong spot in app.config.

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

    Click on "Continue execution"

    Then you will have the stacktrace in the output tab

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

    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.

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

    I had a similar issue when debugging a VSTO Excel add-in. After trying everything, I resolved the issue by disabling a realtime protection module on my antivirus software.

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