Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

NDC Conferences

Internals of Exceptions

NDC Conferences via YouTube

Overview

Explore the intricate world of exception handling in this comprehensive conference talk. Delve into the internal mechanisms used by Windows for handling exceptions, from SEH, VEH, and VCH to the nuances of C# exception filters. Discover how to catch even the most elusive exceptions, including StackOverflowException. Examine constructs used in C++ and C# languages, CLR instructions, and machine code details through live debugging and analysis of low to high-level code. Gain insights into stacktraces in .NET, exceptions in async and multi-threaded environments, Constrained Executed Regions, and exception handling as seen in WinDBG. Investigate IL Metadata, the .NET two-pass exception system, catching rules, and C# exception filters. Learn about SEH exception mapping, handling corrupted states in .NET, and the intricacies of catching Stack OverflowException in C#. Enhance your understanding of exception internals to become a more proficient developer.

Syllabus

Intro
Popular mechanisms
Lower level mechanisms
One might ask...
Finally during exit
Stacktraces in .NET
Catching everything
Uncatchable exceptions in .NET
Exceptions in async
Exceptions in other threads
Constrained Executed Region
Exceptions as seen in WinDBG
IL Metadata
NET two-pass exception system
Catching rules
C# Exception filters
SEHException mapping
Handling corrupted state in .NET
Catching Stack OverflowException in C#
Summary
References

Taught by

NDC Conferences

Reviews

Start your review of Internals of Exceptions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.