Skip to content

Commit f93e40a

Browse files
Merge pull request #15298 from MicrosoftDocs/main
Auto Publish – main to live - 2026-04-22 22:00 UTC
2 parents 4666233 + 6c54326 commit f93e40a

194 files changed

Lines changed: 426 additions & 396 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/debugger/debug-with-copilot.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ In addition, Copilot provides more precise help for some targeted scenarios, suc
5757
|Conditional breakpoints and tracepoints|See [Get suggestions with conditional breakpoints and tracepoints](#get-suggestions-with-conditional-breakpoints-and-tracepoints) in this article.|
5858
|Quick Actions (light bulb)|See [Get AI assistance with Quick Actions](../ide/quick-actions.md#get-ai-assistance).|
5959
|IEnumerable tabular visualizer|See [Get AI assistance](../debugger/view-data-in-tabular-visualizer.md#get-ai-assistance).|
60+
|Auto-detect and format in Text Visualizer|See [Auto-detect and format](../debugger/view-strings-visualizer.md#auto-detect-and-format). Copilot automatically identifies encoded or compressed strings and decodes them in a single click.|
6061
|Inline return values|See [View return values of method calls](../debugger/autos-and-locals-windows.md#view-inline-return-values-of-method-calls-in-the-code-editor).|
6162
|Inline values|See [View inline values](../debugger/autos-and-locals-windows.md#view-inline-values).|
6263
|Multithreaded debugging|See [Get AI assistance with Threads view](../debugger/using-the-parallel-stacks-window.md#get-ai-assistance).|

docs/debugger/debugging-absolute-beginners.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ ms.subservice: debug-diagnostics
1212
---
1313
# Debug for absolute beginners
1414

15-
Without fail, the code we write as software developers doesnt always do what we expected it to do. Sometimes it does something completely different! When the unexpected happens, the next task is to figure out why, and although we might be tempted to just keep staring at our code for hours, it's easier and more efficient to use a debugging tool or debugger.
15+
Without fail, the code we write as software developers doesn't always do what we expected it to do. Sometimes it does something completely different! When the unexpected happens, the next task is to figure out why, and although we might be tempted to just keep staring at our code for hours, it's easier and more efficient to use a debugging tool or debugger.
1616

17-
A debugger, unfortunately, isnt something that can magically reveal all the problems or bugs in our code. *Debugging* means to run your code step by step in a debugging tool like Visual Studio, to find the exact point where you made a programming mistake. You then understand what corrections you need to make in your code and debugging tools often allow you to make temporary changes so you can continue running the program.
17+
A debugger, unfortunately, isn't something that can magically reveal all the problems or "bugs" in our code. *Debugging* means to run your code step by step in a debugging tool like Visual Studio, to find the exact point where you made a programming mistake. You then understand what corrections you need to make in your code and debugging tools often allow you to make temporary changes so you can continue running the program.
1818

1919
Using a debugger effectively is also a skill that takes time and practice to learn but is ultimately a fundamental task for every software developer. In this article, we introduce the core principles of debugging and provide tips to get you started.
2020

@@ -38,7 +38,7 @@ Before you investigate a bug or an error, think of the assumptions that made you
3838

3939
* Are you using an API correctly? Maybe you used the right API but didn't use it in the right way.
4040

41-
* Does your code contain any typos? Some typos, like a simple misspelling of a variable name, can be difficult to see, especially when working with languages that dont require variables to be declared before theyre used.
41+
* Does your code contain any typos? Some typos, like a simple misspelling of a variable name, can be difficult to see, especially when working with languages that don't require variables to be declared before they're used.
4242

4343
* Did you make a change to your code and assume it's unrelated to the problem that you're seeing?
4444

@@ -57,7 +57,7 @@ When you normally run an app, you see errors and incorrect results only after th
5757

5858
When you run an app within a debugger, also called *debugging mode*, the debugger actively monitors everything that's happening as the program runs. It also allows you to pause the app at any point to examine its state and then step through your code line by line to watch every detail as it happens.
5959

60-
In Visual Studio, you enter debugging mode by using **F5** (or the **Debug** > **Start Debugging** menu command or the **Start Debugging** button :::image type="content" source="../debugger/media/dbg-tour-start-debugging.png" alt-text="Icon showing Start Debugging button."::: in the Debug Toolbar). If any exceptions occur, Visual Studios Exception Helper takes you to the exact point where the exception occurred and provides other helpful information. For more information on how to handle exceptions in your code, see [Debugging techniques and tools](../debugger/write-better-code-with-visual-studio.md#fix-an-exception).
60+
In Visual Studio, you enter debugging mode by using **F5** (or the **Debug** > **Start Debugging** menu command or the **Start Debugging** button :::image type="content" source="../debugger/media/dbg-tour-start-debugging.png" alt-text="Icon showing Start Debugging button."::: in the Debug Toolbar). If any exceptions occur, Visual Studio's Exception Helper takes you to the exact point where the exception occurred and provides other helpful information. For more information on how to handle exceptions in your code, see [Debugging techniques and tools](../debugger/write-better-code-with-visual-studio.md#fix-an-exception).
6161

6262
If you didn't get an exception, you probably have a good idea of where to look for the problem in your code. This step is where you use *breakpoints* with the debugger to give yourself a chance to examine your code more carefully. Breakpoints are the most basic and essential feature of reliable debugging. A breakpoint indicates where Visual Studio should pause your running code so you can take a look at the values of variables, or the behavior of memory, the sequence in which code runs.
6363

docs/debugger/find-your-debugging-task.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sections:
3434
3535
- **How do I log information to the Output window under configurable conditions without modifying or stopping my code?**
3636
37-
Tracepoints allow you to log information to the Output window under configurable conditions without modifying or stopping your code. For more information, see [Use tracepoints in the Visual Studio debugger](../debugger/using-tracepoints.md)
37+
Tracepoints allow you to log information to the Output window under configurable conditions without modifying or stopping your code. For more information, see [Use tracepoints in the Visual Studio debugger](../debugger/using-tracepoints.md).
3838
3939
- **Manage and keep track of my breakpoints**
4040
@@ -100,17 +100,17 @@ sections:
100100
101101
See [Attach to a running processes](attach-to-running-processes-with-the-visual-studio-debugger.md).
102102
103-
- **How can I to attach to the same application repeatedly?**
103+
- **How can I attach to the same application repeatedly?**
104104
105105
You can use **Reattach to Process** (**Shift+Alt+P**) to easily allow you to start debugging your application in one click without needing to go through the Attach to Process dialog every time.
106-
See [Reattach to a process](attach-to-running-processes-with-the-visual-studio-debugger.md#BKMK_reattach)
106+
See [Reattach to a process](attach-to-running-processes-with-the-visual-studio-debugger.md#BKMK_reattach).
107107
108108
- question: |
109109
Debug multithreaded applications
110110
answer: |
111111
- **How can I debug a multi-threaded application? Or, is my application in a hung state?**
112112
113-
See [Parallel Stacks window](using-the-parallel-stacks-window.md) further troubleshooting
113+
See [Parallel Stacks window](using-the-parallel-stacks-window.md) further troubleshooting.
114114
115115
- **How can I view the order in which functions are called?**
116116
@@ -145,7 +145,7 @@ sections:
145145
146146
Just My Code is a Visual Studio debugging feature that automatically steps over calls to system, framework, and other non-user code.
147147
In the Call Stack window, Just My Code collapses these calls into [External Code] frames.
148-
See [Debug only user code with Just My Code](just-my-code.md)
148+
See [Debug only user code with Just My Code](just-my-code.md).
149149

150150
- **How can I view or debug the raw assembly instructions that my program is executing?**
151151

@@ -154,17 +154,17 @@ sections:
154154
- **Can I see source code for .NET Libraries?**
155155

156156
Enable Microsoft Symbol Servers from Debug > Options > Symbols in order to download symbols and source for .NET Libraries.
157-
See [Specify symbol](specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md)
157+
See [Specify symbol](specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md).
158158

159159
- **How can I load PDBs from a specific or shared location or server?**
160160

161161
Configure your Symbol Servers from Debug > Options > Symbols.
162-
See [Specify symbol](specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md)
162+
See [Specify symbol](specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md).
163163

164164
- **How can I never load a specific PDB? Or, how can I always load one?**
165165

166166
Configure your Include and Exclude Lists in Debug > Options > Symbols.
167-
See [Specify symbol](specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md)
167+
See [Specify symbol](specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger.md).
168168

169169
- question: |
170170
Configure debugging
@@ -184,12 +184,12 @@ sections:
184184
- **Do I need to save a dump?**
185185
186186
While stopped at an error or breakpoint during debugging, select **Debug > Save Dump As**.
187-
See [Dump files](using-dump-files.md)
187+
See [Dump files](using-dump-files.md).
188188
189189
- **How do I analyze a dump file?**
190190
191191
Open the dump by choosing **File > Open** in Visual Studio. To start debugging, select **Debug with Managed Only**, **Debug with Native Only**, **Debug with Mixed**, or **Debug with Managed Memory**.
192-
See [Dump files](using-dump-files.md)
192+
See [Dump files](using-dump-files.md).
193193
194194
- **Can I edit code during a debugging session?**
195195
@@ -201,7 +201,7 @@ sections:
201201
202202
- **How can I fix performance issues?**
203203
204-
See [First look at the profiling tools](../profiling/profiling-feature-tour.md)
204+
See [First look at the profiling tools](../profiling/profiling-feature-tour.md).
205205
206206
- **How do I fix an exception?**
207207
164 KB
Loading

docs/debugger/view-strings-visualizer.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: "View strings in a string visualizer"
33
description: Use the string visualizer in Visual Studio debugger to view text strings, XML, HTML, and JSON. You can view other object types, including DataSet and DataTable.
4-
ms.date: "01/12/2026"
4+
ms.date: "04/20/2026"
55
ms.topic: how-to
6+
ms.custom: awp-ai
67
f1_keywords:
78
- "vs.debug.stringviewer"
89
dev_langs:
@@ -19,6 +20,7 @@ ms.author: "mikejo"
1920
manager: mijacobs
2021
ms.subservice: debug-diagnostics
2122
---
23+
2224
# View strings in a string visualizer in Visual Studio
2325

2426
While you are debugging in Visual Studio, you can view strings with the built-in string visualizer. The string visualizer shows strings that are too long for a data tip or debugger window. It can also help you identify malformed strings.
@@ -67,6 +69,14 @@ To search for a sub-string in the text visualizer, press **Ctrl + F** to open th
6769
![Screenshot of search within the text visualizer.](../debugger/media/visualstudio/debug-string-visualizer-text-search.png "Text string visualizer")
6870

6971
If you need to read content behind the search box, hold down **Ctrl** and the search box becomes transparent.
72+
73+
### Auto-detect and format
74+
75+
The **Auto-detect and format** button in the top-right of the Text Visualizer automatically identifies the encoding or compression format of a string and applies the necessary transformations in a single click. Powered by Copilot, this feature instantly converts complex data, such as GZip-compressed Base64, into readable text — removing the need for manual decoding steps or external tools.
76+
77+
To use this feature, select the **Auto-detect and format** button while viewing a string in the Text Visualizer.
78+
79+
![Gif showing Auto-detect and format in the Text Visualizer.](../debugger/media/visualstudio/text-visualizer-text-decode.gif "Auto-detect and format in the Text Visualizer")
7080
::: moniker-end
7181

7282
### View JSON string data

docs/debugger/what-is-debugging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A debugger is a very specialized developer tool that attaches to your running ap
2222

2323
## Debug mode vs. running your app
2424

25-
When you run your app in Visual Studio for the first time, you may start it by pressing the green arrow button ![Start Debugging](../debugger/media/dbg-tour-start-debugging.png "Start Debugging") in the toolbar (or **F5**). By default, the **Debug** value appears in the drop-down to the left. If you are new to Visual Studio, this can leave the impression that debugging your app has something to do with running your app--which it does--but these are fundamentally two very different tasks.
25+
When you run your app in Visual Studio for the first time, you may start it by pressing the green arrow button ![Start Debugging](../debugger/media/dbg-tour-start-debugging.png "Start Debugging") in the toolbar (or **F5**). By default, the **Debug** value appears in the drop-down to the left. If you are new to Visual Studio, this can leave the impression that debugging your app has something to do with running your appwhich it doesbut these are fundamentally two very different tasks.
2626

2727
![Select a Debug build](../debugger/media/what-is-debugging-debug-build.png)
2828

@@ -36,7 +36,7 @@ When you switch this setting, you change your project from a debug configuration
3636

3737
## When to use a debugger
3838

39-
The debugger is an essential tool to find and fix bugs in your apps. However, context is king, and it is important to leverage all the tools at your disposable to help you quickly eliminate bugs or errors. Sometimes, the right "tool" might be a better coding practice. By learning when to use the debugger vs. some other tool, you will also learn how to use the debugger more effectively.
39+
The debugger is an essential tool to find and fix bugs in your apps. However, context is king, and it is important to leverage all the tools at your disposal to help you quickly eliminate bugs or errors. Sometimes, the right "tool" might be a better coding practice. By learning when to use the debugger vs. some other tool, you will also learn how to use the debugger more effectively.
4040

4141
## Related content
4242

docs/get-started/csharp/tutorial-aspnet-core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: "Tutorial: Create C# ASP.NET Core web application"
33
description: Create a web application in the Visual Studio integrated development environment (IDE) by using C# and ASP.NET Core, make changes to the app, and run the app.
4-
author: anandmeg
5-
ms.author: meghaanand
4+
author: MikeJo5000
5+
ms.author: mikejo
66
manager: mijacobs
77
ms.subservice: general-ide
88
ms.topic: tutorial

docs/get-started/csharp/tutorial-console-part-2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ms.date: 02/11/2026
66
ms.subservice: general-ide
77
ms.topic: tutorial
88
ms.devlang: csharp
9-
author: anandmeg
10-
ms.author: meghaanand
9+
author: MikeJo5000
10+
ms.author: mikejo
1111
manager: mijacobs
1212
monikerRange: ">=vs-2022"
1313
dev_langs:

docs/get-started/csharp/tutorial-console.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ms.date: 12/15/2025
66
ms.subservice: general-ide
77
ms.topic: tutorial
88
ms.devlang: csharp
9-
author: anandmeg
10-
ms.author: meghaanand
9+
author: MikeJo5000
10+
ms.author: mikejo
1111
manager: mijacobs
1212
dev_langs:
1313
- CSharp

docs/get-started/csharp/tutorial-editor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ms.custom: vs-acquisition
55
ms.date: 09/14/2021
66
ms.subservice: general-ide
77
ms.topic: tutorial
8-
author: anandmeg
9-
ms.author: meghaanand
8+
author: MikeJo5000
9+
ms.author: mikejo
1010
manager: mijacobs
1111
dev_langs:
1212
- CSharp

0 commit comments

Comments
 (0)