Skip to content

Commit 38e3552

Browse files
committed
added info on configuring debugging
1 parent 9997c0b commit 38e3552

6 files changed

+31
-14
lines changed

docs/debugger/create-custom-views-of-native-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ manager: jillfra
1414
ms.workload:
1515
- "cplusplus"
1616
---
17-
# Create custom views of C++ objects in the debugger
17+
# Create custom views of C++ objects in the debugger using the Natvis framework
1818

1919
The Visual Studio *Natvis* framework customizes the way native types appear in debugger variable windows, such as the **Locals** and **Watch** windows, and in **DataTips**. Natvis visualizations can help make the types you create more visible during debugging.
2020

docs/debugger/debugger-feature-tour.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,14 @@ The Exception Helper is a great feature that can help you debug errors. You can
196196
197197
Expand the **Exception Settings** node to see more options on how to handle this exception type, but you don't need to change anything for this tour!
198198

199+
## Configure debugging
200+
201+
You can configure your project to build as a [Debug or Release configuration](../debugger/how-to-set-debug-and-release-configurations.md), configure project properties for debugging, or configure [general settings](../debugger/how-to-specify-debugger-settings.md) for debugging. In addition, you can configure the debugger to display custom information using features such as [DebuggerDisplay](using-the-debuggerdisplay-attribute.md) attribute or, for C/C++, the [NatVis framework](create-custom-views-of-native-objects.md).
202+
203+
Debugging properties are specific to each project type. For example, you can specify an argument to pass to the application when you start it. You can access the project-specific properties by right-clicking the project in Solution Explorer and selecting **Properties**. Debugging properties typically appear in the **Build** or **Debug** tab, depending on the particular project type.
204+
205+
![Project properties](../debugger/media/dbg-tour-project-properties.png "Project properties")
206+
199207
## Debug live ASP.NET apps in Azure App Service
200208

201209
the **Snapshot Debugger** takes a snapshot of your in-production apps when code that you are interested in executes. To instruct the debugger to take a snapshot, you set snappoints and logpoints in your code. The debugger lets you see exactly what went wrong, without impacting traffic of your production application. The Snapshot Debugger can help you dramatically reduce the time it takes to resolve issues that occur in production environments.

docs/debugger/debugger-settings-and-preparation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ This section describes the debugger-related property settings, and the preparati
2525
For more information, see [How to: Set Debug and Release Configurations](../debugger/how-to-set-debug-and-release-configurations.md).
2626

2727
## In This Section
28+
29+
[How to: Specify Debugger Settings](../debugger/how-to-specify-debugger-settings.md)
30+
Describes debugger settings in the **Options** dialog box.
31+
2832
[Debugger Project Settings](../debugger/debugger-project-settings.md)
2933
Explains how to specify debugger settings, how to set debug and release configurations, and how to manage symbols and source code. Also describes appropriate project settings for C++, C#, F#, and Visual Basic debug configurations, as well as web projects.
3034

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

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ If you want to pause and debug code while examining execution flow or viewing fu
5959

6060
You can do this by [setting a breakpoint from the Disassembly window](using-breakpoints.md#BKMK_Set_a_breakpoint_from_debugger_windows).
6161

62+
## Execute code
63+
64+
### Learn the commands to step through your code while debugging
65+
66+
For more information, see [Navigate code with the debugger](navigating-through-code-with-the-debugger.md).
67+
6268
## Inspect data
6369

6470
### Check the value of variables while running your app
@@ -73,19 +79,7 @@ Set a watch on the variable. For more information, see [Set a watch on variables
7379

7480
Open the built-in [string visualizer](view-strings-visualizer.md) while debugging.
7581

76-
## Additional tasks
77-
78-
### Learn the commands to step through your code while debugging
79-
80-
For more information, see [Navigate code with the debugger](navigating-through-code-with-the-debugger.md).
81-
82-
### Edit code during a debugging session
83-
84-
Use [Edit and continue](edit-and-continue.md). For XAML, use [XAML Hot Reload](xaml-hot-reload.md).
85-
86-
### Send messages to the Output window without modifying code
87-
88-
Set a tracepoint. For more information, see [Using tracepoints](using-tracepoints.md).
82+
## Configure debugging
8983

9084
### Customize information shown in the debugger
9185

@@ -97,6 +91,16 @@ For native C++, use the [NatVis framework](create-custom-views-of-native-objects
9791

9892
To configure debugger options and debugger project settings, see [Debugger settings and preparation](debugger-settings-and-preparation.md).
9993

94+
## Additional tasks
95+
96+
### Edit code during a debugging session
97+
98+
Use [Edit and continue](edit-and-continue.md). For XAML, use [XAML Hot Reload](xaml-hot-reload.md).
99+
100+
### Send messages to the Output window without modifying code
101+
102+
Set a tracepoint. For more information, see [Using tracepoints](using-tracepoints.md).
103+
100104
### Debug on remote machines
101105

102106
See [Remote debugging](remote-debugging.md).
Loading

docs/debugger/using-the-debuggerdisplay-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ms.workload:
1414
- "multiple"
1515
---
1616
# Tell the debugger what to show using the DebuggerDisplay Attribute (C#, Visual Basic, F#, C++/CLI)
17+
1718
The <xref:System.Diagnostics.DebuggerDisplayAttribute> controls how an object, property, or field is displayed in the debugger variable windows. This attribute can be applied to types, delegates, properties, fields, and assemblies. If applied to a base type, the attribute also applies to a subclass.
1819

1920
The `DebuggerDisplay` attribute has a single argument, which is a string to be displayed in the value column for instances of the type. This string can contain braces (`{` and `}`). Text within a pair of braces is evaluated as a field, property or method.

0 commit comments

Comments
 (0)