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

Responsive Web Design Fundamentals
Google via Udacity
Xcode Debugging
Udacity
Reverse Engineering and Memory Hacking with Cheat Engine
Udemy
Responsive Layouts Course (How To)
Treehouse
iOS Debugging Fundamentals
Pluralsight