You know how to throw and catch exception. But do you know how are they implemented internally? Do you know what is 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 I show internal mechanisms used by Windows for handling exceptions. We 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.
Level 400, intense session.
- Understanding exception mechanisms in C#, IL, C++ and Windows
- Dealing with out of band exceptions, access violation exceptions and stack overflow
- Learning best practices for handling exceptions and recovering from broken application state