I\'m using the FirstChanceException event to log details about any thrown exceptions.
static void Main(string[] args) { AppDomain.CurrentDomain.FirstChanceEx
Handle inside exceptions manually e.g.
static void Main(string[] args) { AppDomain.CurrentDomain.FirstChanceException += (sender, eventArgs) => { try{ throw new Exception("Stackoverflow");} catch (Exception ex){/*manual handle*/} }; throw new Exception("Exception thrown in main."); }