Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.8 KB

File metadata and controls

42 lines (32 loc) · 2.8 KB
title Create custom views of data in the debugger
description Learn the various ways to inspect and modify program state in Visual Studio debugger. These include the Autos and Watch windows, DataTips, and Visualizers.
ms.date 08/08/2023
ms.topic how-to
dev_langs
CSharp
VB
FSharp
C++
JScript
helpviewer_keywords
debugging [Visual Studio], inspecting programs
debugger, viewing data
author mikejo5000
ms.author mikejo
ms.subservice 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