I usually debug by sending messages to the console via RhinoApp.WriteLine but I’ve recently encountered a very stubborn bug that I would like to collect more information about. The application is a WPF plugin for Rhino.
I have tried using other error and exception reporting processes (without luck) such as:
Application.Current.DispatcherUnhandledException += Current_DispatcherUnhandledException;
Can anyone please advise a best practice for catching errors before a WPF rhino plugin/application crashes?