I'm attempting to catch unhandled exceptions in my app on windows 8.1
I've noticed that in my App_UnhandledException handler, that the UnhandledExceptionArgs.Exception.StackTrace is valid on entry.
However, I take the same Exception object, and pass it to a function, and the value mysteriously becomes null.
As a workaround, I capture the stack trace into a string variable before any other operations on the exception object, but I don't understand why this should be necessary.
Anthony Wieser | Wieser Software Ltd |
www.wieser-software.com