acermate433s
acermate433s

Reputation: 2544

Log all handled and un-handled exceptions in the CLR

I don't know if it's even possible because of .NET code security, but is there a way to hook/intercept all handled and un-handled exceptions in the CLR?

There is an event AppDomain.FirstChanceException but this only fires in the AppDomain and all sub-Apdomains. How can I get all active AppDomains running in the CLR so that I could set the FirstChanceException of all those AppDomains.

Upvotes: 1

Views: 192

Answers (1)

Related Questions