每当调试应用就会报错。
每当调试应用都会报错中断,然后调试无法继续,我检查过代码,好像没有问题。
还是会标记这行 global::System.Diagnostics.Debugger.Break();
#if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
UnhandledException += (sender, e) =>
{
if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
};
#endif