ข้ามไปยังเนื้อหาหลัก

เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป

อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค

ดาวน์โหลด Microsoft Edge ข้อมูลเพิ่มเติมเกี่ยวกับ Internet Explorer และ Microsoft Edge
อ่านในภาษาอังกฤษ

แชร์ผ่าน

Facebook x.com LinkedIn อีเมล

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
  • Try AI-assisted debugging
  • Run Python code in the debugger >>
  • Debugging for absolute beginners

Fundamentals

Overview

  • First look at the debugger
  • What is debugging?
  • Debugger feature finder

How-To Guide

  • 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

Measure performance

Tutorial

  • Get started analyzing CPU usage
  • Get started measuring memory usage
  • AI-assisted CPU usage auto insights with Copilot

Overview

  • First look at profiling tools
  • Which tool should I use?
  • Ways to run profiling tools

Concept

  • Understanding performance collection methods

Collaborate

Tutorial

  • Write and debug code with Live Share >>
th-th
ตัวเลือกความเป็นส่วนตัวของคุณ
  • ข้อสงวนสิทธิ์ของ AI
  • เวอร์ชันก่อนหน้านี้
  • บล็อก
  • สนับสนุน
  • ความเป็นส่วนตัว
  • ข้อกำหนดการใช้
  • เครื่องหมายการค้า
  • © Microsoft 2025