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

اختبار بناء الكود في مصحح الأخطاء في إيكليبس
Coursera Project Network via Coursera
Debuggers 1011: Introductory WinDbg
OpenSecurityTraining2 via Independent
Debuggers 1015: Introductory Simics
OpenSecurityTraining2 via Independent
Test your Build in the Debugger with Eclipse
Coursera Project Network via Coursera
Adobe XD: Building a Responsive Component Library
LinkedIn Learning