I am running Mono on Ubuntu. I have a simple C# app that I’m trying to debug. It’s got a timer that goes off every n seconds. If certain criteria are met, it displays a message. But the app will randomly crash. I have try/ catch blocks everywhere, but they’re not helping. The app crashes and stops the debugger. I am not able to detect a pattern as to what the code is doing when it crashes. Sometimes it’ll run for a minute or two, sometimes for an hour.
How can I start to track down the root of the problem?