Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.83 KB

viewing-data-in-the-debugger.md

File metadata and controls

42 lines (33 loc) · 2.83 KB
title description ms.date ms.topic dev_langs helpviewer_keywords author ms.author manager ms.subservice
Create custom views of data in the debugger
Learn the various ways to inspect and modify program state in Visual Studio debugger. These include the Autos and Watch windows, DataTips, and Visualizers.
08/08/2023
conceptual
CSharp
VB
FSharp
C++
JScript
debugging [Visual Studio], inspecting programs
debugger, viewing data
mikejo5000
mikejo
mijacobs
debug-diagnostics

Create custom views of data in the Visual Studio debugger (C#, Visual Basic, C++)

The Visual Studio debugger provides many tools for inspecting and modifying the state of your program. Most of these tools function only in break mode.

Create custom views of data in variable windows and DataTips

Many of the debugger windows, such as the Autos and Watch windows, allow you to inspect variables. You can customize how C++ types, managed objects, and your own types are shown in the debugger variable windows and in DataTips. For more information, see the following articles:

Create custom visualizers

Visualizers enable you to view the contents of an object or variable in a meaningful way. In the Visual Studio debugger, a visualizer refers to the different windows that you can open using the magnifying glass VisualizerIcon icon. For example, the HTML visualizer shows how an HTML string would be interpreted and displayed in a browser. You can access visualizers from DataTips, the Watch window, the Autos window, and the Locals window. The QuickWatch dialog box also provides a visualizer. For more information:

Related content