C# 我能从这样的碰撞信息中得到有用的信息吗?

C# 我能从这样的碰撞信息中得到有用的信息吗?,c#,ios,debugging,crash,crash-reports,C#,Ios,Debugging,Crash,Crash Reports,我使用的是Xamarin.iOS,它是Objective-C的C#包装器 我有一个任务中发生的崩溃,但该信息没有用处,如下所示: *** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or a

我使用的是Xamarin.iOS,它是Objective-C的C#包装器

我有一个任务中发生的崩溃,但该信息没有用处,如下所示:

*** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
  at Newtonsoft.Json.JsonTextReader.ParseValue () <0x100b32280 + 0x004b4> in <filename unknown>:0 
  at Newtonsoft.Json.JsonTextReader.Read () <0x100b2ed80 + 0x00057> in <filename unknown>:0 
  at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () <0x100b28ee0 + 0x0001f> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) <0x100b78c70 + 0x00097> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) <0x100b6f700 + 0x0008f> in <filename unknown>:0 
  --- End of inner exception stack trace ---
---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
  at Newtonsoft.Json.JsonTextReader.ParseValue () <0x100b32280 + 0x004b4> in <filename unknown>:0 
  at Newtonsoft.Json.JsonTextReader.Read () <0x100b2ed80 + 0x00057> in <filename unknown>:0 
  at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () <0x100b28ee0 + 0x0001f> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) <0x100b78c70 + 0x00097> in <filename unknown>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) <0x100b6f700 + 0x0008f> in <filename unknown>:0 <---

这些数字意味着什么?我能从这些数字中检索出调用了哪个文件甚至哪个方法吗?

上面的崩溃信息显示了崩溃期间活动帧的列表

1   CoreFoundation                       0x000000018da17cec 0x18d93b000 + 904428
上述样本框架的详细信息

1 : Frame Number

CoreFoundation : Framework Name

0x000000018da17cec : Address of the called Function

0x18d93b000 : File Name

+8740 : Line of the Code
要从地址中获取函数名和文件名,我们需要将崩溃报告符号化

您在这个问题中发布的崩溃日志的一部分显示了所有默认的iOS框架,因此即使在符号化之后,您也可能无法获得那么多有用的信息。您需要查找带有应用程序名称的活动框架,这可能会为您提供有用的信息

有许多第三方库可供我们用于事故报告,如Fabric、曲棍球应用程序、Flurry


似乎支持Xamarin,希望能有所帮助。

您可以使用Xcode或atos terminal命令将这些数字符号化-我所要做的就是将报告符号化。我现在使用hockeyApp,每次上传构建时我都会上传我的dsyms给他们,这样每次崩溃都可以立即被符号化
1 : Frame Number

CoreFoundation : Framework Name

0x000000018da17cec : Address of the called Function

0x18d93b000 : File Name

+8740 : Line of the Code