I have got a problem with a .NET application. It terminates without throwing any exception. If I start it in debug mode in my visual studio, the debugging terminates also without any error message.
I have found the post StackOverflowException in .NET which describes that this behaviour occurs when the CLR throws one the following exceptions:
- ThreadAbortException
- OutOfMemoryException
- StackOverflowException
But how can I determine which of these exception was thrown in my case?
Is it possible to log the exception and maybe to get a stack trace or the type of the exeption at least?
I have tried to write a second application, which starts the other app in a separate process. With this approach, I could detect when the process terminated, but the only information I could get in this way was the exit code -532459699. Does anyone know what that means?