每当我尝试调试我的 Windows Phone 7 C# 应用程序时,我都会在输出窗口中收到以下消息:
A first chance exception of type 'System.OverflowException' occurred in mscorlib.dll
A first chance exception of type 'System.OverflowException' occurred in mscorlib.dll
A first chance exception of type 'System.InvalidOperationException' occurred in Microsoft.Phone.dll
...然后,App.xaml.cs 在 VS 中打开(仍处于调试模式,我无法编辑任何内容)和“System.Diagnostics.Debugger.Break();” 突出显示。
为什么会发生这种情况,我该如何解决它,以及将来如何防止它?