Windows Phone 7 崩溃
0 coredll.dll xxx_RaiseException 19
1 mscoree3_7.dll 520892
2 mscoree3_7.dll 461967
3 mscoree3_7.dll 534468
4 TransitionStub 0
5 System.Data.Linq.SqlClient.SqlProvider.Execute 1916
6 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll 284
7 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute 764
8 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute 92
9 System.Linq.Queryable.Single 444
10 LocalDatabaseSample.ViewModel.ToDoViewModel.DeleteAllToDoItem 492
11 Emergency_Calls.EditMember.Delete_Click 180
12 Microsoft.Phone.Shell.ApplicationBarItemContainer.FireEventHandler 292
13 Microsoft.Phone.Shell.ApplicationBarIconButton.ClickEvent 88
14 Microsoft.Phone.Shell.ApplicationBarIconButtonContainer.ClickEvent 60
15 Microsoft.Phone.Shell.ApplicationBar.OnCommand 160
16 Microsoft.Phone.Shell.Interop.NativeCallbackInteropWrapper.OnCommand 72
17 mscoree3_7.dll 507848
18 mscoree3_7.dll 509212
19 mscoree3_7.dll 692871
我无法理解是什么导致了某些人的崩溃......所以我需要一些帮助来破译这个问题。
0 coredll.dll xxx_RaiseException 19
1 mscoree3_7.dll 520892
2 mscoree3_7.dll 461967
3 mscoree3_7.dll 534468
4 TransitionStub 0
5 System.Data.Linq.SqlClient.SqlProvider.Execute 1916
6 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll 284
7 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute 764
8 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute 92
9 System.Linq.Queryable.Single 444
10 LocalDatabaseSample.ViewModel.ToDoViewModel.DeleteAllToDoItem 492
11 Emergency_Calls.EditMember.Delete_Click 180
12 Microsoft.Phone.Shell.ApplicationBarItemContainer.FireEventHandler 292
13 Microsoft.Phone.Shell.ApplicationBarIconButton.ClickEvent 88
14 Microsoft.Phone.Shell.ApplicationBarIconButtonContainer.ClickEvent 60
15 Microsoft.Phone.Shell.ApplicationBar.OnCommand 160
16 Microsoft.Phone.Shell.Interop.NativeCallbackInteropWrapper.OnCommand 72
17 mscoree3_7.dll 507848
18 mscoree3_7.dll 509212
19 mscoree3_7.dll 692871
I cant understand what is causing the crash for some people...so I need a bit of help deciphering this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须从下往上读取堆栈跟踪,查找代码中的方法:跟踪的顶部和底部通常都会有系统调用,您需要对其进行解释以提供上下文。
因此,从堆栈跟踪中您可以看到单击了应用程序栏按钮,并且在代码
LocalDatabaseSample.ViewModel.ToDoViewModel.DeleteAllToDoItem
中,LINQ.Single()
中出现异常。代码>调用。这些知识和了解异常类型会对您有所帮助,但正如 ZombieSheep 所说,如果没有相应的代码,就很难提供进一步的帮助。
You have to read the stack trace from the bottom up, looking for methods that are in your code: there will typically be system calls both at the top and the bottom of the trace which you need to interpret to give you context.
So, from the stack trace you can see that an application bar button was clicked and inside your code
LocalDatabaseSample.ViewModel.ToDoViewModel.DeleteAllToDoItem
there was an exception in a LINQ.Single()
call.This knowledge and knowing the exception type will help you, but as ZombieSheep says without the corresponding code it's difficult to help further.