Как я могу поймать все исключения сбоя в monotouch / ios?
Я завел код журнала в main.cs, чтобы поймать исключение, но сборка приложения с помощью monotouch обычно вылетает на iPad, и я не могу найти ни одного журнала. (часть кода содержит многопоточную операцию и службу wcf)
Как я могу поймать все исключения аварии?
public class Application
{
// This is the main entry point of the application.
static void Main (string[] args)
{
// if you want to use a different Application Delegate class from "AppDelegate"
// you can specify it here.
try
{
UIApplication.Main (args, null, "AppDelegate");
}
catch (Exception ex)
{
Util.LogException("Main",ex);
}
}
}