YoVDO

Debugging in C#

Offered By: LinkedIn Learning

Tags

C# Courses Visual Studio Code Courses Breakpoints Courses

Course Description

Overview

Debugging helps you build more accurate, efficient, and reliable C# applications. Learn how to debug your C# code using Visual Studio Code.

Syllabus

Introduction
  • Debugging in C#
  • What you should know
  • How to use CoderPad
1. Basics of Debugging
  • What is debugging?
  • What is a print statement?
  • What is a breakpoint?
  • Inspecting values of variables
  • Execution in debug mode
  • The debugging process
  • Solution: Find the bug in string truncation
2. More Debugging Tips and Tricks
  • Covering edge cases
  • Defensive programming
  • Side effects
  • Solution: Discount calculator
3. Common Errors in C#
  • NullReferenceException
  • IndexOutOfRangeException
  • Logical errors
  • Using a reference like a value
  • Solution: Library management system
4. Practice Debugging C# Programs
  • Basic code challenge
  • Basic code challenge: Solution
  • Logical code challenge
  • Logical code challenge: Solution
  • Solution: Find bug in factorial function
Conclusion
  • Next steps

Taught by

Kathryn Hodge

Related Courses

Beginning Game Programming with C#
University of Colorado System via Coursera
Programming with C#
Microsoft via edX
DEV206.1x: Introduction to XAML and Application Development
Microsoft via edX
Introduction to Game Development
Michigan State University via Coursera
Designing Advanced Applications using XAML
Microsoft via edX