Skip to main content
← All courses

VSM-105Premier Track

Visual Studio Mastery · Step 5 of 15

Debugging Basics

Stop guessing why your code breaks — learn to pause, inspect, and trace bugs to their source in Visual Studio.

Start Free — 14 Days Included with Pro — no per-course charge

What you’ll walk away with

  • Set breakpoints to pause code execution at exactly the line you need to examine
  • Inspect variable state using Locals, Watch windows, and hover tooltips while debugging
  • Read the call stack to understand how your program arrived at a given point
  • Catch and diagnose exceptions using Visual Studio's exception debugging tools
  • Apply these techniques together to find and fix a real bug in a hands-on exercise

Questions people ask before they start

Do I need prior debugging experience to take this course?

No. This course starts from the fundamentals — pausing execution with breakpoints — and builds up to reading call stacks and handling exceptions.

What tool does this course use?

Visual Studio. Every lesson, from setting breakpoints to inspecting state and debugging exceptions, is taught inside Visual Studio's debugger.

Will I actually practice debugging, or is it just lecture?

The module ends with a hands-on lesson, 'Find a Real Bug,' where you apply breakpoints, state inspection, and the call stack to track down an actual bug.

What's the difference between the Locals and Watch windows?

The course covers both directly in 'Inspecting State: Locals, Watch, and Hover' — Locals shows variables in current scope automatically, while Watch lets you track specific expressions you choose, plus how hovering over variables gives quick inline values.

Does this course cover fixing exceptions, or just breakpoints?

Both. Beyond basic breakpoints and state inspection, the module 'The Call Stack and Exception Debugging' teaches you to trace how your code reached an error and debug exceptions directly.

Is this course specific to one programming language?

The curriculum focuses on debugging mechanics in Visual Studio — breakpoints, stepping, state inspection, and exceptions — skills that apply across the languages Visual Studio supports.

Visual Studio Mastery track

This course is step 5 of 15. Finish all 15 to complete the track.

  1. Step 1Welcome to Visual StudioVSM-101 · 4 lessons
  2. Step 2The IDE TourVSM-102 · 5 lessons
  3. Step 3Projects & SolutionsVSM-103 · 4 lessons
  4. Step 4Editing Like a ProVSM-104 · 4 lessons
  5. Step 5Debugging BasicsVSM-105 · 4 lessons
  6. Step 6Git IntegrationVSM-106 · 4 lessons
  7. Step 7Code Quality & AnalysisVSM-107 · 4 lessons
  8. Step 8Testing in Visual StudioVSM-108 · 4 lessons
  9. Step 9Extensions & the MarketplaceVSM-109 · 4 lessons
  10. Step 10Build, Publish & DeploymentVSM-110 · 4 lessons
  11. Step 11Multi-Language & Multi-Project WorkflowsVSM-111 · 4 lessons
  12. Step 12AI Agents Inside Visual StudioVSM-112 · 4 lessons
  13. Step 13Advanced DebuggingVSM-113 · 4 lessons
  14. Step 14CI/CD from the IDEVSM-114 · 4 lessons
  15. Step 15Power-User ProductivityVSM-115 · 4 lessons

The full track

Included with AI University Pro

Course path · VSM-105 · Debugging Basics