How can I catch all crash exception in monotouch/ios?

前端 未结 1 1253
走了就别回头了
走了就别回头了 2021-01-21 13:57

I have wrapped log code in main.cs to catch the exception, but the app build by monotouch usually crash in iPad, and I cannot found any log. (some code contain multithread opera

相关标签:
1条回答
  • 2021-01-21 14:04

    Native crashes can't be turned into managed exceptions (the state of the process is invalid, so there is no way to continue safely).

    There are two types of information that will help you (or help others help you) figure out what's going on:

    • The crash report.
    • The device log.

    You can find the crash report in Xcode's Organizer, and the device log in MonoDevelop's iOS Device Log pad. Here is a more detailed description how to find each.

    0 讨论(0)
提交回复
热议问题