You know how to throw and catch exception. But do you know how they are implemented internally? Do you know about SEH, VEH and VCH in Windows? Or do you know why C# introduced exceptions filters or how to catch everything, even StackOverflowException?
In this presentation, Adam shows internal mechanisms used by Windows for handling exceptions. You will see constructs used by C++ and C# languages, CLR instructions, and machine code details of those. There will be some live debugging and low to high level code.
You will learn:
- Exception mechanisms details in C#, IL, C++ and Windows
- How to deal with out of band exceptions, access violation exceptions and stack overflow
- Best practices for handling exceptions and recovering from broken application state