M
M. Jones
Hallo,
I've got a small application that loads some "plug-ins" into individual
AppDomains. I would, for the "unlikely" case that one of these plug-ins
throw an unhandled exception log *all* information possible...
The handler is in place and works fine when it comes to simply catching the
unhandled exceptions.
But...
I notice that all unhandled exceptions thrown outside the default AppDomain
lose there stack traces - one of the things I really would like to log. A
unhandled exception thrown within the default AppDomain has all the stack
traces in place. I guess that this behavior makes sense somehow but It's
not really practical. Also the docs clearly say (and I have verified it)
that you can not add an unhandled exception handler to a child AppDomain.
Now the question is - how to I do it anyway - how to I log e.g. a Stack
Trace after an unhandled exception in an child AppDomain.
Any Ideas?
Thanks,
Michael
I've got a small application that loads some "plug-ins" into individual
AppDomains. I would, for the "unlikely" case that one of these plug-ins
throw an unhandled exception log *all* information possible...
The handler is in place and works fine when it comes to simply catching the
unhandled exceptions.
But...
I notice that all unhandled exceptions thrown outside the default AppDomain
lose there stack traces - one of the things I really would like to log. A
unhandled exception thrown within the default AppDomain has all the stack
traces in place. I guess that this behavior makes sense somehow but It's
not really practical. Also the docs clearly say (and I have verified it)
that you can not add an unhandled exception handler to a child AppDomain.
Now the question is - how to I do it anyway - how to I log e.g. a Stack
Trace after an unhandled exception in an child AppDomain.
Any Ideas?
Thanks,
Michael