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 operation and wcf service)
How can I catch all crash exception?
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);
}
}
}