2
MonoMac 응용 프로그램을 가지고 있으며 어떤 행이 예외를 일으키는 지보고 싶습니다. 내 모든 스택 추적은 다음과 같습니다MonoMac 응용 프로그램 스택 추적에 행 번호 인쇄
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: I am going to crash now.
atSync.MacConfiguration..ctor (System.String destinationPath, IDatabasePathGenerator pathGenerator) [0x00000] in <filename unknown>:0
at Sync.MacConfiguration..ctor() [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x001f3>
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x00024>
at System.Reflection.ConstructorInfo.Invoke (object[]) <0x00042>
at System.Activator.CreateInstance (System.Type,bool) <0x001d3>
at System.Activator.CreateInstance (System.Type) <0x00013>
at Sync.ConfigurationSection.get_Configuration() <0x00043>
at Sync.Configuration.LoadFromXML (string) <0x000cf>
at Sync.Configuration.get_Default() <0x0005f>
at Sync.Mac.AppDelegate..ctor() <0x00037>
at (wrapper dynamic-method) object.905edfe4-e0b5-4f92-955e-4e10c991fb3a (intptr,MonoMac.ObjCRuntime.Selector) <0x00057>
at (wrapper native-to-managed) object.905edfe4-e0b5-4f92-955e-4e10c991fb3a (intptr,MonoMac.ObjCRuntime.Selector) <0x0006f>
at (wrapper managed-to-native) MonoMac.AppKit.NSApplication.NSApplicationMain (int,string[]) <0x00003>
at MonoMac.AppKit.NSApplication.Main (string[]) <0x0003f>
at Sync.Mac.MainClass.Main (string[]) <0x000e7>
은 내가 Contents/MonoBundle
폴더에 .mdb
파일을 복사하는 시도,하지만 난 여전히 내 스택 추적에 줄 번호가 표시되지 않습니다.
해결 방법에 대한 힌트가 있습니까?
'--debug'와 함께'MONO_ENV_OPTIONS' 변수를 사용하려고 시도했지만 여전히 작동하지 않았습니다. –