Hoppa till huvudinnehåll

Den här webbläsaren stöds inte längre.

Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.

Ladda ned Microsoft Edge Mer information om Internet Explorer och Microsoft Edge
Läs på engelska
Läs på engelska Redigera
Twitter LinkedIn Facebook E-post

Debugger documentation - Visual Studio (Windows)

The Visual Studio debugger helps you observe the run-time behavior of your program and find problems.

Get started

Tutorial

  • Learn to debug C#
  • Learn to debug C++
  • Learn to debug Visual Basic
  • Run Python code in the debugger >>
  • Debugging for absolute beginners

Fundamentals

Overview

  • First look at the debugger
  • What is debugging?

How-To Guide

  • Start the debugger
  • Code stepping
  • Set a breakpoint
  • Edit code and continue debugging
  • Call stack

Go deeper with the debugger

How-To Guide

  • Debugger tips and tricks
  • Write and debug running XAML code
  • Debug a live Azure app
  • Tell the debugger what to show
  • Debug performance issues >>

Inspect data

How-To Guide

  • Inspect variables
  • Set a watch on variables

Collaborate

Tutorial

  • Write and debug code with Live Share >>
  • Tidigare versioner
  • Blogg
  • Bidra
  • Sekretess
  • Användningsvillkor
  • Varumärken
  • © Microsoft 2023
  • Tidigare versioner
  • Blogg
  • Bidra
  • Sekretess
  • Användningsvillkor
  • Varumärken
  • © Microsoft 2023