3

I'm running an application in Ubuntu that occasionally crashes. I'd like to capture the stack trace when the crash occurred. Is this possible?

I'm launching my app like this:

mono-service -m:logfile.out application.exe

sonofaforester
  • 337
  • 1
  • 10

1 Answers1

0

Are you capturing unhandled exceptions in the application? Take a look at:

http://msdn.microsoft.com/en-us/library/system.appdomain.unhandledexception.aspx

This should allow you to at least log any unhandled exceptions so you can get a better idea what's happening.

Mark Kelly
  • 553
  • 4
  • 13