Skip to content

Commit 6f57b75

Browse files
authored
Merge branch 'master' into master
2 parents 4ed377b + 90b2481 commit 6f57b75

30 files changed

+502
-489
lines changed

docs/debugger/TOC.md

Lines changed: 279 additions & 279 deletions
Large diffs are not rendered by default.

docs/debugger/autos-and-locals-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Inspect Variables in the Debugger in Visual Studio | Microsoft Docs"
2+
title: "Inspect Variables in the Autos and Locals Windows | Microsoft Docs"
33
ms.custom: "H1Hack27Feb2017"
44
ms.date: "04/17/2017"
55
ms.reviewer: ""

docs/debugger/configure-the-windows-firewall-for-remote-debugging.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ This topic describes how to configure the firewall to enable remote debugging on
5757
|||||
5858
|-|-|-|-|
5959
|**Ports**|**Incoming/Outgoing**|**Protocol**|**Description**|
60-
|4022|Incoming|TCP|For VS 2017. The port number is incremented by 2 for each Visual Studio version. For more information, see [Visual Studio Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments).|
61-
|4023|Incoming|TCP|For VS 2017. The port number is incremented by 2 for each Visual Studio version. (Only used to remote debug a 32-bit process from the 64-bit version of the remote debugger.) For more information, see [Visual Studio Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments).|
60+
|4022|Incoming|TCP|For VS 2017. The port number is incremented by 2 for each Visual Studio version. For more information, see [Visual Studio Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments.md).|
61+
|4023|Incoming|TCP|For VS 2017. The port number is incremented by 2 for each Visual Studio version. (Only used to remote debug a 32-bit process from the 64-bit version of the remote debugger.) For more information, see [Visual Studio Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments.md).|
6262
|3702|Outgoing|UDP|(Optional) Required for remote debugger discovery.|
6363

6464
## How to Configure Ports in Windows Firewall
6565

66-
When you install Visual Studio or the remote debugger, the software will try to open the correct ports. However, in some scenarios, you may need to open a port manually. (To verify that ports are open, see [Troubleshooting](#troubleshooting).) Some instructions may be different on older versions of Windows.
66+
When you install Visual Studio or the remote debugger, the software will try to open the correct ports. However, in some scenarios (such as using a third party firewall), you may need to open a port manually. If you need to verify that ports are open, see [Troubleshooting](#troubleshooting). Some instructions for opening a port may be different on older versions of Windows.
6767

6868
To open a port:
6969

@@ -86,9 +86,9 @@ To open a port:
8686

8787
## <a name="troubleshooting"></a>Troubleshooting
8888

89-
When you install Visual Studio or the remote debugger, the software will try to open the correct ports. In some scenarios, you may need to verify that the correct ports are open.
89+
If you are having trouble attaching to your app with the remote debugger, you may need to verify that the correct ports are open.
9090

91-
### Verify that the Windows Firewall is configured correctly on the Visual Studio Computer
91+
### Verify that ports are open in the Windows Firewall on the Visual Studio Computer
9292
The instructions for configuring the Windows firewall differ slightly on different operating systems. On Windows 8/8.1, Windows 10, and Windows Server 2012, the word **app** is used; on Windows 7 or Windows Server 2008, the word **program** is used; In the following steps we will use the word **app**.
9393

9494
1. Open the Windows Firewall page. (In the **Start** menu search box, type **Windows Firewall**).
@@ -101,7 +101,7 @@ When you install Visual Studio or the remote debugger, the software will try to
101101

102102
5. In the **Allowed apps and features** list, select **Visual Studio Remote Debugger**. Check one or more network types (**Domain, Home/Work (Private), Public**) that you want the remote debugging monitor to communicate with. The types must include the network to which the Visual Studio computer is connected.
103103

104-
### Verify that the Windows Firewall is configured correctly on the remote computer
104+
### Verify that ports are open in the Windows Firewall on the remote computer
105105
The remote debugging components can be installed on the remote computer or run from a shared directory. The firewall of the remote computer must be configured in both cases. The remote debugging components are located in:
106106

107107
**\<Visual Studio installation directory>\Common7\IDE\Remote Debugger**

docs/debugger/debug-installed-app-package.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Get started debugging an installed app package (UWP) | Microsoft Docs"
2+
title: "Debug an installed app package (UWP) | Microsoft Docs"
33
ms.custom: "H1Hack27Feb2017"
44
ms.date: "12/09/2016"
55
ms.reviewer: ""
@@ -40,7 +40,7 @@ translation.priority.mt:
4040
- "pt-br"
4141
- "tr-tr"
4242
---
43-
# Get started debugging an installed app package in Visual Studio (UWP)
43+
# Debug an installed app package in Visual Studio (UWP)
4444

4545
You can debug any installed app package by selecting **Debug**, **Other Debug Targets**, and then **Debug Installed App Package**. This debugging method is available for Universal Windows Apps (UWP) on these devices:
4646

docs/debugger/debugger-feature-tour.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Debugger Feature Tour | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "03/04/2017"
3+
ms.custom: "H1HackMay2017"
4+
ms.date: "05/19/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:
@@ -31,7 +31,7 @@ translation.priority.mt:
3131
- "pt-br"
3232
- "tr-tr"
3333
---
34-
# Debugger feature tour
34+
# Feature Tour of the Visual Studio Debugger
3535

3636
This topic introduces the features of the Visual Studio debugger. If you want to follow along by opening your own app in Visual Studio, you can do that, or you can follow along with a sample app using the [step-by-step Beginner's Guide](../debugger/getting-started-with-the-debugger.md).
3737

docs/debugger/debugging-basics-registers-window.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Debugging Basics: Registers Window | Microsoft Docs"
2+
title: "About the Registers window | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.reviewer: ""
@@ -37,7 +37,7 @@ translation.priority.ht:
3737
- "zh-cn"
3838
- "zh-tw"
3939
---
40-
# Debugging Basics: Registers Window
40+
# About the Registers Window in Visual Studio
4141
The **Registers** window is available only if address-level debugging is enabled in the **Options** dialog box, **Debugging** node.
4242

4343
Registers are special locations within a processor (CPU) that are used to store small pieces of data that the processor is actively working on. Compiling or interpreting source code generates instructions that move data from memory into the registers and back again, as needed. Accessing data in registers is very fast compared to accessing data in memory, so code that allows the processor to keep data in a register and access it repeatedly tends to execute faster than code that requires the processor to constantly load and unload registers. To make it easier for the compiler to keep data in registers, and perform other optimizations, you should avoid using global variables and rely on local variables as much as possible. Code written in this fashion is said to have good locality of reference. In some languages, such as C/C++, the programmer can declare a register variable, which tells the compiler to try its best to keep the variable in a register at all times. For more information, see [Register Keyword](http://msdn.microsoft.com/en-us/5b66905a-2f7f-4918-bb55-5e66d4bc50f9).

docs/debugger/get-started-debugging-multithreaded-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Get started debugging multithreaded applications | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "04/25/2017"
3+
ms.custom: "H1HackMay2017"
4+
ms.date: "05/18/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:

docs/debugger/getting-started-with-the-debugger.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Get started with the debugger | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "03/04/2017"
3+
ms.custom: "H1HackMay2017"
4+
ms.date: "05/18/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:
@@ -31,7 +31,7 @@ translation.priority.mt:
3131
- "pt-br"
3232
- "tr-tr"
3333
---
34-
# Get started with the debugger
34+
# Get started with the Visual Studio debugger
3535

3636
This topic introduces the features of the Visual Studio debugger in an step-by-step walkthrough. If you want a higher-level view of the debugger features, see [Debugger Feature Tour](../debugger/debugger-feature-tour.md).
3737

docs/debugger/how-to-enable-debugging-for-aspnet-applications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "How to: Enable Debugging for ASP.NET Applications | Microsoft Docs"
3-
ms.custom: ""
2+
title: "Enable Debugging for ASP.NET Applications | Microsoft Docs"
3+
ms.custom: "H1HackMay2017"
44
ms.date: "04/04/17"
55
ms.reviewer: ""
66
ms.suite: ""
@@ -37,7 +37,7 @@ translation.priority.ht:
3737
- "zh-cn"
3838
- "zh-tw"
3939
---
40-
# How to: Enable Debugging for ASP.NET Applications
40+
# Enable Debugging for ASP.NET Applications in Visual Studio
4141
To enable debugging, you must enable it in the application's web.config file and in the project properties.
4242

4343
> [!NOTE]

docs/debugger/how-to-use-the-call-stack-window.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "View the call stack in the debugger in Visual Studio | Microsoft Docs"
2+
title: "View the call stack in the Visual Studio debugger | Microsoft Docs"
33
ms.custom: "H1Hack27Feb2017"
44
ms.date: "04/06/2017"
55
ms.reviewer: ""
@@ -48,7 +48,7 @@ translation.priority.ht:
4848
- "zh-cn"
4949
- "zh-tw"
5050
---
51-
# Use the call stack in the Visual Studio debugger
51+
# View the call stack and use the Call Stack Window in the Visual Studio debugger
5252

5353
By using the **Call Stack** window, you can view the function or procedure calls that are currently on the stack. The **Call Stack** window shows the order in which methods and functions are getting called. The call stack is a good way to examine and understand the execution flow of an app.
5454

docs/debugger/how-to-use-the-disassembly-window.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ This feature is available only if address-level debugging is enabled the **Optio
7171
7272
### To display the Disassembly window
7373

74-
- On the **Debug** menu, choose **Windows**, and click **Disassembly**.
75-
76-
The debugger must be running or in break mode.
74+
- While you are debugging, select **Debug / Windows** and then click **Disassembly**.
7775

7876
### To turn optional information on or off
7977

docs/debugger/how-to-use-the-modules-window.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "View Modules, DLLs, and Executables in the Debugger | Microsoft Docs"
2+
title: "View DLLs and Executables in the Debugger | Microsoft Docs"
33
ms.custom: "H1Hack27Feb2017"
44
ms.date: "11/04/2016"
55
ms.reviewer: ""
@@ -43,15 +43,16 @@ translation.priority.ht:
4343
- "zh-cn"
4444
- "zh-tw"
4545
---
46-
# How to: Use the Modules Window in the Visual Studio Debugger
46+
# View DLLs and Executables using the Modules Window in the Visual Studio Debugger
47+
48+
The **Modules** window lists the DLLs and executables (EXE) that are used by your program and shows relevant information for each.
49+
4750
> [!NOTE]
48-
> This feature is not available for SQL or script debugging.
51+
> This feature is not available for SQL or script debugging.
4952
50-
The **Modules** window lists the DLLs and EXE that are used by your program and shows relevant information for each.
53+
### To display the Modules window
5154

52-
### To display the Modules window in break mode or in run mode
53-
54-
- On the **Debug** menu, choose **Windows**, and then click **Modules**.
55+
- While you are debugging, select **Debug / Windows** and then click **Modules**.
5556

5657
By default, the **Modules** window sorts modules by load order. However, you can choose to sort by any column.
5758

docs/debugger/how-to-use-the-registers-window.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "View Register Values in the Debugger in Visual Studio | Microsoft Docs"
2+
title: "View Register Values in the Visual Studio Debugger | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.reviewer: ""
@@ -43,7 +43,7 @@ translation.priority.ht:
4343
- "zh-cn"
4444
- "zh-tw"
4545
---
46-
# Use the Registers Window in the Visual Studio Debugger
46+
# View Register Values and use the Registers Window in the Visual Studio Debugger
4747
The Registers window is available only if address-level debugging is enabled in the **Options** dialog box, **Debugging** node, **General** category.
4848

4949
The **Registers** window displays register contents. If you keep the **Registers** window open as you step through your program, you can see register values change as your code executes. Values that have changed recently are displayed in red. You can edit register values. For more information, see [How to: Edit a Register Value](../debugger/how-to-edit-a-register-value.md).

docs/debugger/how-to-use-the-threads-window.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Debug a multithreaded application using the Threads window | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "04/18/2017"
3+
ms.custom: "H1HackMay2017"
4+
ms.date: "05/18/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:

docs/debugger/just-my-code.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Just My Code | Microsoft Docs"
2+
title: "Debug user code with Just My Code | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "05/18/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:
@@ -29,19 +29,21 @@ translation.priority.mt:
2929
- "pt-br"
3030
- "tr-tr"
3131
---
32-
# Just My Code
33-
Developers who use .NET Framework languages are familiar with the Just My Code debugger feature that steps over system, framework, and other non-user calls and collapses those calls in the call stack windows. Just My Code has been extended to the C++ and JavaScript languages. This topic describes the specifics of using Just My Code in .NET Framework, native C++, and JavaScript projects.
32+
# Specify whether to debug only user code using Just My Code in Visual Studio
33+
Developers who use .NET Framework languages are familiar with the Just My Code debugger feature that steps over system, framework, and other non-user calls and collapses those calls in the call stack windows. Just My Code has been extended to the C++ and JavaScript languages. This topic describes the specifics of using Just My Code in .NET Framework, native C++, and JavaScript projects.
34+
35+
For most programming languages, Just My Code is enabled by default.
3436

3537
## <a name="BKMK_Enable_or_disable_Just_My_Code"></a> Enable or disable Just My Code
36-
To enable or disable Just My Code, choose **Options and Settings** on the **Debug** menu. In the **Debugging** / **General** node, choose or clear **Enable Just My Code**.
38+
To enable or disable Just My Code, choose the **Tools / Options** menu. In the **Debugging** / **General** node, choose or clear **Enable Just My Code**.
3739

3840
![Enable Just My Code in the Options dialog box](../debugger/media/dbg_justmycode_options.png "DBG_JustMyCode_Options")
3941

4042
> [!NOTE]
4143
> The **Enable Just My Code** setting is a global setting that is applied to all Visual Studio projects in all languages.
4244
43-
### <a name="BKMK_Override_call_stack_filtering"></a> Override call stack filtering
44-
In call stack displays, such as the Call Stack and Tasks windows, Just My Code collapses non-user code into an annotated frame labeled `[External Code]`. To view the collapsed frames, choose **Show External Code** on the context menu of the call stack display.
45+
### <a name="BKMK_Override_call_stack_filtering"></a> Show non-user code in call stack views
46+
In views that show the call stack, such as the **Call Stack** and **Tasks** windows, Just My Code collapses non-user code into an annotated frame labeled `[External Code]`. To view the collapsed frames, choose **Show External Code** on the context menu of the call stack display.
4547

4648
> [!NOTE]
4749
> The **Show External Code** setting is saved to the current user's profiler. It is applied to all projects in all languages that are opened by the user.

docs/debugger/map-methods-on-the-call-stack-while-debugging-in-visual-studio.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Map methods on the call stack while debugging in Visual Studio | Microsoft Docs"
2+
title: "Create a visual map of the call stack | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "05/18/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:
@@ -49,16 +49,18 @@ translation.priority.ht:
4949
- "zh-cn"
5050
- "zh-tw"
5151
---
52-
# Map methods on the call stack while debugging in Visual Studio
53-
Create a code map to visually trace the call stack while you're debugging. You can make notes on the map to track what the code is doing so you can focus on finding bugs.
54-
55-
![Debugging with call stacks on code maps](../debugger/media/debuggermap_overview.png "DebuggerMap_Overview")
56-
52+
# Create a visual map of the call stack while debugging in Visual Studio Enterprise
53+
Create a code map to visually trace the call stack while you're debugging. You can make notes on the map to track what the code is doing so you can focus on finding bugs.
54+
5755
You'll need:
5856

5957
- [Visual Studio Enterprise](https://www.visualstudio.com/downloads/download-visual-studio-vs)
6058

6159
- Code that you can debug, such as Visual C# .NET, Visual Basic .NET, C++, JavaScript, or X++
60+
61+
Here's a quick look at a code map:
62+
63+
![Debugging with call stacks on code maps](../debugger/media/debuggermap_overview.png "DebuggerMap_Overview")
6264

6365
See:
6466

83.5 KB
Loading

docs/debugger/remote-debugger-port-assignments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Remote Debugger Port Assignments | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "03/28/2017"
3+
ms.custom: "H1Hack27Feb2017"
4+
ms.date: "05/18/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:

docs/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.suite: ""
77
ms.technology:
88
- "vs-ide-debug"
99
ms.tgt_pltfrm: ""
10-
ms.topic: "hero-article"
10+
ms.topic: "article"
1111
ms.assetid: 9cb339b5-3caf-4755-aad1-4a5da54b2a23
1212
caps.latest.revision: 6
1313
author: "mikejo5000"

docs/debugger/walkthrough-debugging-a-parallel-application.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Walkthrough: Debugging a Parallel Application | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "11/04/2016"
3+
ms.custom: "H1HackMay2017"
4+
ms.date: "05/18/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:
@@ -41,7 +41,7 @@ translation.priority.ht:
4141
- "zh-cn"
4242
- "zh-tw"
4343
---
44-
# Walkthrough: Debugging a Parallel Application
44+
# Walkthrough: Debugging a Parallel Application in Visual Studio
4545
This walkthrough shows how to use the **Parallel Tasks** and **Parallel Stacks** windows to debug a parallel application. These windows help you understand and verify the runtime behavior of code that uses the [Task Parallel Library (TPL)](http://msdn.microsoft.com/Library/b8f99f43-9104-45fd-9bff-385a20488a23) or the [Concurrency Runtime](/cpp/parallel/concrt/concurrency-runtime). This walkthrough provides sample code that has built-in breakpoints. After the code breaks, the walkthrough shows how to use the **Parallel Tasks** and **Parallel Stacks** windows to examine it.
4646

4747
This walkthrough teaches these tasks:

docs/extensibility/getting-started-with-the-vsix-project-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can use the VSIX Project template to create an extension or to package an ex
4343

4444
1. Open the project from which to create a template. This project can be of any project type.
4545

46-
2. On the **File** menu, click **Export Template**. Complete the steps of the wizard.
46+
2. On the **Project** menu, click **Export Template**. Complete the steps of the wizard.
4747

4848
A .zip file is created in %USERPROFILE%\My Documents\Visual Studio *\<version>*\My Exported Templates\\.
4949

0 commit comments

Comments
 (0)