Xamarin IOS SIGSEGV在调试时



当我调试并将鼠标悬停在变量上以获取其值时,我会收到一个错误弹出窗口http://gyazo.com/1a3cfe39d135e5807d41d2acf3b54b90然后调试器以SIGSEGV错误崩溃。

这是Stacktrace:

2015-03-04 14:31:00.568 AppName[839:11564] critical: Stacktrace:
2015-03-04 14:31:00.568 AppName[839:11564] critical:   at <unknown> <0xffffffff>
2015-03-04 14:31:00.568 AppName[839:11564] critical:   at Core.DataLayer.DataConnection.GetDatabasePath () [0x00063] in /Users/me/Projects/AppName/Core/DataLayer/DataAccess.cs:24
2015-03-04 14:31:00.568 AppName[839:11564] critical:   at Core.DataLayer.DataConnection.SetupDatabaseIfNeeded () [0x00002] in /Users/me/Projects/AppName/Core/DataLayer/DataAccess.cs:88
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at IOS.AppDelegate.FinishedLaunching (UIKit.UIApplication,Foundation.NSDictionary) [0x0000b] in /Users/me/Projects/AppName/IOS/AppDelegate.cs:66
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at (wrapper runtime-invoke) <Module>.runtime_invoke_bool__this___object_object (object,intptr,intptr,intptr) <IL 0x00066, 0xffffffff>
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at <unknown> <0xffffffff>
2015-03-04 14:31:00.569 AppName[839:11564] critical:   at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x000a6, 0xffffffff>
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:46
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at IOS.Application.Main (string[]) [0x00008] in /Users/me/Projects/AppName/IOS/Main.cs:17
2015-03-04 14:31:00.570 AppName[839:11564] critical:   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
2015-03-04 14:31:00.570 AppName[839:11564] critical: 
Native stacktrace:
2015-03-04 14:31:00.571 AppName[839:11564] critical: 
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Application Terminated

得到了相同的错误。"监视"窗口中存在来自其他项目的变量。清除所有变量有帮助。

相关内容

  • 没有找到相关文章

最新更新