Skip to content

Commit de6e761

Browse files
committed
markdig migration
1 parent f55a610 commit de6e761

File tree

803 files changed

+9006
-8914
lines changed

Some content is hidden

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

803 files changed

+9006
-8914
lines changed

docs/debugger/a-dcom-error-occurred-trying-to-contact-the-remote-computer-access-is-denied.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ ms.workload:
2626
# A DCOM error occurred trying to contact the remote computer. Access is denied.
2727
Remote debugging uses DCOM to communicate between the local and remote computers in the following situations:
2828

29-
- The debugger is set to **Native Compatibility Mode** or **Managed Compatibility Mode** is checked in the **Tools > Options > Debugging** page
29+
- The debugger is set to **Native Compatibility Mode** or **Managed Compatibility Mode** is checked in the **Tools > Options > Debugging** page
3030

31-
- You are debugging managed C++ (C++/CLI) code.
31+
- You are debugging managed C++ (C++/CLI) code.
3232

33-
- In Visual Studio 2013, when **Enable native Edit and Continue** is checked in the **Tools > Options > Debugging** page
33+
- In Visual Studio 2013, when **Enable native Edit and Continue** is checked in the **Tools > Options > Debugging** page
3434

35-
- Some third party debugging scenarios
35+
- Some third party debugging scenarios
3636

37-
This error occurs when the Visual Studio process cannot authenticate itself (or the supplied credentials were deemed insufficient) to the remote debugger process over DCOM. One or more of the following workarounds might resolve the issue:
37+
This error occurs when the Visual Studio process cannot authenticate itself (or the supplied credentials were deemed insufficient) to the remote debugger process over DCOM. One or more of the following workarounds might resolve the issue:
3838

39-
- Turn off **Native Compatibility Mode** and **Managed Compatibility Mode**.
39+
- Turn off **Native Compatibility Mode** and **Managed Compatibility Mode**.
4040

41-
- In Visual Studio 2013, turn off **Enable native Edit and Continue**.
41+
- In Visual Studio 2013, turn off **Enable native Edit and Continue**.
4242

43-
- Reboot both computers.
43+
- Reboot both computers.
4444

45-
- If remote debugging requires entering credentials, check the option to save the credentials.
45+
- If remote debugging requires entering credentials, check the option to save the credentials.
4646

4747
## See Also
4848
[Remote Debugging Errors and Troubleshooting](../debugger/remote-debugging-errors-and-troubleshooting.md)

docs/debugger/aspnet-debugging-system-requirements.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ ms.workload:
2222
# ASP.NET Debugging: System Requirements
2323
This topic describes the software and security requirements for [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] debugging scenarios:
2424

25-
- Local debugging, in which [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] and the Web application run on the same computer. There are two versions of this scenario:
25+
- Local debugging, in which [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] and the Web application run on the same computer. There are two versions of this scenario:
2626

27-
- The [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] code resides on the file system.
27+
- The [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] code resides on the file system.
2828

29-
- The [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] code resides in an IIS Web site.
29+
- The [!INCLUDE[vstecasp](../code-quality/includes/vstecasp_md.md)] code resides in an IIS Web site.
3030

31-
- Remote debugging, in which [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] runs on a client computer and debugs a Web application that is running on a remote server computer.
31+
- Remote debugging, in which [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] runs on a client computer and debugs a Web application that is running on a remote server computer.
3232

3333
## Security Requirements
3434
For remote debugging, local and remote computers must be on a domain setup or a workgroup setup.

docs/debugger/assertions-in-managed-code.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,19 +138,19 @@ Debug.Assert ( temp != 0 );
138138

139139
Otherwise, for <xref:System.Diagnostics.Trace> methods to work, your program must have one of the following at the top of the source file:
140140

141-
- `#Const TRACE = True` in Visual Basic
141+
- `#Const TRACE = True` in Visual Basic
142142

143-
- `#define TRACE` in Visual C# and C++
143+
- `#define TRACE` in Visual C# and C++
144144

145-
Or your program must be built with the TRACE option:
145+
Or your program must be built with the TRACE option:
146146

147-
- `/d:TRACE=True` in Visual Basic
147+
- `/d:TRACE=True` in Visual Basic
148148

149-
- `/d:TRACE` in Visual C# and C++
149+
- `/d:TRACE` in Visual C# and C++
150150

151-
If you need to use the Debug methods in a C# or Visual Basic Release build, you must define the DEBUG symbol in your Release configuration.
151+
If you need to use the Debug methods in a C# or Visual Basic Release build, you must define the DEBUG symbol in your Release configuration.
152152

153-
C++ does not support the <xref:System.Diagnostics.Debug> class methods. You can achieve the same effect by using the <xref:System.Diagnostics.Trace> class with conditional compilation, such as `#ifdef DEBUG`... `#endif`. You can define these symbols in the **\<Project> Property Pages** dialog box. For more information, see [Changing Project Settings for a Visual Basic Debug Configuration](../debugger/project-settings-for-a-visual-basic-debug-configuration.md) or [Changing Project Settings for a C or C++ Debug Configuration](../debugger/project-settings-for-a-cpp-debug-configuration.md).
153+
C++ does not support the <xref:System.Diagnostics.Debug> class methods. You can achieve the same effect by using the <xref:System.Diagnostics.Trace> class with conditional compilation, such as `#ifdef DEBUG`... `#endif`. You can define these symbols in the **\<Project> Property Pages** dialog box. For more information, see [Changing Project Settings for a Visual Basic Debug Configuration](../debugger/project-settings-for-a-visual-basic-debug-configuration.md) or [Changing Project Settings for a C or C++ Debug Configuration](../debugger/project-settings-for-a-cpp-debug-configuration.md).
154154

155155
## <a name="BKMK_Assert_arguments"></a> Assert arguments
156156
<xref:System.Diagnostics.Trace.Assert%2A?displayProperty=fullName> and <xref:System.Diagnostics.Debug.Assert%2A?displayProperty=fullName> take up to three arguments. The first argument, which is mandatory, is the condition you want to check. If you call <xref:System.Diagnostics.Trace.Assert(System.Boolean)?displayProperty=fullName> or <xref:System.Diagnostics.Debug.Assert(System.Boolean)?displayProperty=fullName> with only one argument, the `Assert` method checks the condition and, if the result is false, outputs the contents of the call stack to the **Output** window. The following example shows <xref:System.Diagnostics.Trace.Assert(System.Boolean)?displayProperty=fullName> and <xref:System.Diagnostics.Debug.Assert(System.Boolean)?displayProperty=fullName>:

docs/debugger/attach-to-running-processes-with-the-visual-studio-debugger.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -48,30 +48,30 @@ To debug a process on a remote computer, see [Attach to a process on a remote co
4848

4949
**To attach to a process on your local computer:**
5050

51-
1. In Visual Studio, select **Debug** > **Attach to Process** (or press **Ctrl**+**Alt**+**P**) to open the **Attach to Process** dialog box.
51+
1. In Visual Studio, select **Debug** > **Attach to Process** (or press **Ctrl**+**Alt**+**P**) to open the **Attach to Process** dialog box.
5252

53-
**Connection type** should be set to **Default**. **Connection target** should be your local machine name.
53+
**Connection type** should be set to **Default**. **Connection target** should be your local machine name.
5454

55-
![DBG_Basics_Attach_To_Process](../debugger/media/DBG_Basics_Attach_To_Process.png "DBG_Basics_Attach_To_Process")
55+
![DBG_Basics_Attach_To_Process](../debugger/media/DBG_Basics_Attach_To_Process.png "DBG_Basics_Attach_To_Process")
5656

57-
1. In the **Available processes** list, find and select the process or processes you want to attach to.
57+
2. In the **Available processes** list, find and select the process or processes you want to attach to.
5858

59-
- To quickly select a process, type its name or first letter in the **Filter processes** box.
59+
- To quickly select a process, type its name or first letter in the **Filter processes** box.
6060

61-
- If you don't know the process name, browse through the list, or see [Common debugging scenarios](#BKMK_Scenarios) for some common process names.
61+
- If you don't know the process name, browse through the list, or see [Common debugging scenarios](#BKMK_Scenarios) for some common process names.
6262

63-
>[!TIP]
64-
>Processes can start and stop in the background while the **Attach to Process** dialog box is open, so the list of running processes may not always be current. You can select **Refresh** at any time to see the current list.
63+
>[!TIP]
64+
>Processes can start and stop in the background while the **Attach to Process** dialog box is open, so the list of running processes may not always be current. You can select **Refresh** at any time to see the current list.
6565
66-
1. In the **Attach to** field, make sure the type of code you plan to debug is listed. The default **Automatic** setting works for most app types.
66+
3. In the **Attach to** field, make sure the type of code you plan to debug is listed. The default **Automatic** setting works for most app types.
6767

68-
To select code types manually:
69-
1. Click **Select**.
70-
1. In the **Select Code Type** dialog box, select **Debug these code types**.
71-
1. Select the code types you want to debug.
72-
1. Select **OK**.
68+
To select code types manually:
69+
1. Click **Select**.
70+
1. In the **Select Code Type** dialog box, select **Debug these code types**.
71+
1. Select the code types you want to debug.
72+
1. Select **OK**.
7373

74-
1. Select **Attach**.
74+
4. Select **Attach**.
7575

7676
>[!NOTE]
7777
>You can be attached to multiple apps for debugging, but only one app is active in the debugger at a time. You can set the active app in the Visual Studio **Debug Location** toolbar or **Processes** window.
@@ -84,46 +84,46 @@ For more complete instructions for debugging ASP.NET applications that have been
8484

8585
**To attach to a running process on a remote computer:**
8686

87-
1. In Visual Studio, select **Debug** > **Attach to Process** (or press **Ctrl**+**Alt**+**P**) to open the **Attach to Process** dialog box.
87+
1. In Visual Studio, select **Debug** > **Attach to Process** (or press **Ctrl**+**Alt**+**P**) to open the **Attach to Process** dialog box.
8888

89-
1. **Connection type** should be **Default** for most cases. In the **Connection target** box, select the remote computer, using one of the following methods:
89+
2. **Connection type** should be **Default** for most cases. In the **Connection target** box, select the remote computer, using one of the following methods:
9090

91-
- Select the drop-down arrow next to **Connection target**, and select the computer name from the drop-down list.
92-
- Type the computer name in the **Connection target** box.
91+
- Select the drop-down arrow next to **Connection target**, and select the computer name from the drop-down list.
92+
- Type the computer name in the **Connection target** box.
9393

94-
> [!NOTE]
95-
> If you can't connect using the remote computer name, try using the IP and port address (for example, `123.45.678.9:4022`). 4022 is the default port for the Visual Studio 2017 x64 remote debugger. For other remote debugger port assignments, see [Remote debugger port assignments](remote-debugger-port-assignments.md).
94+
> [!NOTE]
95+
> If you can't connect using the remote computer name, try using the IP and port address (for example, `123.45.678.9:4022`). 4022 is the default port for the Visual Studio 2017 x64 remote debugger. For other remote debugger port assignments, see [Remote debugger port assignments](remote-debugger-port-assignments.md).
9696
97-
- Select the **Find** button next to the **Connection target** box to open the **Remote Connections** dialog box. The **Remote Connections** dialog box lists all the devices that are on your local subnet or directly attached to your computer. You may need to [open UDP port 3702](../debugger/remote-debugger-port-assignments.md) on the server to discover remote devices. Select the computer or device you want, and then click **Select**.
97+
- Select the **Find** button next to the **Connection target** box to open the **Remote Connections** dialog box. The **Remote Connections** dialog box lists all the devices that are on your local subnet or directly attached to your computer. You may need to [open UDP port 3702](../debugger/remote-debugger-port-assignments.md) on the server to discover remote devices. Select the computer or device you want, and then click **Select**.
9898

99-
> [!NOTE]
100-
> The **Connection type** setting persists between debugging sessions. The **Connection target** setting persists between debugging sessions only if a successful debugging connection occurred with that target.
99+
> [!NOTE]
100+
> The **Connection type** setting persists between debugging sessions. The **Connection target** setting persists between debugging sessions only if a successful debugging connection occurred with that target.
101101
102-
1. Click **Refresh** to populate the **Available processes** list.
102+
3. Click **Refresh** to populate the **Available processes** list.
103103

104-
>[!TIP]
105-
>Processes can start and stop in the background while the **Attach to Process** dialog box is open, so the list of running processes may not always be current. You can select **Refresh** at any time to see the current list.
104+
>[!TIP]
105+
>Processes can start and stop in the background while the **Attach to Process** dialog box is open, so the list of running processes may not always be current. You can select **Refresh** at any time to see the current list.
106106
107-
1. In the **Available processes** list, find and select the process or processes you want to attach to.
107+
4. In the **Available processes** list, find and select the process or processes you want to attach to.
108108

109-
- To quickly select a process, type its name or first letter in the **Filter processes** box.
109+
- To quickly select a process, type its name or first letter in the **Filter processes** box.
110110

111-
- If you don't know the process name, browse through the list, or see [Common debugging scenarios](#BKMK_Scenarios) for some common process names.
111+
- If you don't know the process name, browse through the list, or see [Common debugging scenarios](#BKMK_Scenarios) for some common process names.
112112

113-
- To find processes running under all user accounts, select the **Show processes from all users** check box.
113+
- To find processes running under all user accounts, select the **Show processes from all users** check box.
114114

115-
>[!NOTE]
116-
>If you try to attach to a process owned by an untrusted user account, a security warning dialog box confirmation will appear. For more information see [Security Warning: Attaching to a process owned by an untrusted user can be dangerous. If the following information looks suspicious or you are unsure, do not attach to this process](../debugger/security-warning-attaching-to-a-process-owned-by-an-untrusted-user.md).
115+
>[!NOTE]
116+
>If you try to attach to a process owned by an untrusted user account, a security warning dialog box confirmation will appear. For more information see [Security Warning: Attaching to a process owned by an untrusted user can be dangerous. If the following information looks suspicious or you are unsure, do not attach to this process](../debugger/security-warning-attaching-to-a-process-owned-by-an-untrusted-user.md).
117117
118-
1. In the **Attach to** field, make sure the type of code you plan to debug is listed. The default **Automatic** setting works for most app types.
118+
5. In the **Attach to** field, make sure the type of code you plan to debug is listed. The default **Automatic** setting works for most app types.
119119

120-
To select code types manually:
121-
1. Click **Select**.
122-
1. In the **Select Code Type** dialog box, select **Debug these code types**.
123-
1. Select the code types you want to debug.
124-
1. Select **OK**.
120+
To select code types manually:
121+
1. Click **Select**.
122+
1. In the **Select Code Type** dialog box, select **Debug these code types**.
123+
1. Select the code types you want to debug.
124+
1. Select **OK**.
125125

126-
1. Select **Attach**.
126+
6. Select **Attach**.
127127

128128
>[!NOTE]
129129
>You can be attached to multiple apps for debugging, but only one app is active in the debugger at a time. You can set the active app in the Visual Studio **Debug Location** toolbar or **Processes** window.

0 commit comments

Comments
 (0)