Debugging helps you build more accurate, efficient, and reliable C# applications. Learn how to debug your C# code using Visual Studio Code.
Overview
Syllabus
Introduction
- Debugging in C#
- What you should know
- What is debugging?
- What is a print statement?
- What is a breakpoint?
- Inspecting values of variables
- Execution in debug mode
- The debugging process
- Beginner debugging code challenge
- Beginner debugging code challenge: Solution
- Covering edge cases
- Defensive programming
- Side effects
- NullReferenceException
- IndexOutOfRangeException
- Logical errors
- Using a reference like a value
- Basic code challenge
- Basic code challenge: Solution
- Logical code challenge
- Logical code challenge: Solution
- Next steps
Taught by
Kathryn Hodge