I am doing something similar to "corerun" with libcoreclr.so and use coreclr_initialize, coreclr_execute_assembly and coreclr_shutdown in my application.
In my environment, standard and standard errors are not available.
When an unhandled exception is thrown, corerun looks at the exception from the standard error. (I think this works through AppDomain.UnhandledException)
I want to remove unhandled exceptions in native or change the path to the exception message message.
I am trying to coreclr_create_delegate with AppDomain.UnhnadledException, but Appdomain is not a public API in netcoreapp1.0.
how do i catch any unhandled exception?
source share