You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/debugger/how-to-debug-in-mixed-mode.md
+4-24Lines changed: 4 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,9 @@ To enable mixed-mode debugging for a native calling app in C++, follow these ste
53
53
::: zone-end
54
54
55
55
::: zone pivot="programming-language-dotnet"
56
-
## Enable mixed-mode for managed calling app (C# or Visual Basic)
56
+
## Enable mixed-mode for managed calling app (.NET)
57
57
58
-
To enable mixed-mode debugging for a managed calling app in C# or Visual Basic, follow these steps:
58
+
To enable mixed-mode debugging for a .NET calling app in C# or Visual Basic, follow these steps:
59
59
60
60
1. In Visual Studio **Solution Explorer**, right-click the C# or Visual Basic project and select **Properties**, or use the Alt + Enter keyboard shortcut. The **Properties** pane opens.
61
61
@@ -95,31 +95,14 @@ To enable mixed-mode debugging for a managed calling app in C# or Visual Basic,
95
95
::: zone-end
96
96
97
97
::: zone pivot="programming-language-dotnetf"
98
-
## Enable mixed-mode for managed calling app (C# or Visual Basic)
98
+
## Enable mixed-mode for managed calling app (.NET Framework)
99
99
100
-
To enable mixed-mode debugging for a managed calling app in C# or Visual Basic, follow these steps:
100
+
To enable mixed-mode debugging for a .NET Framework calling app in C# or Visual Basic, follow these steps:
101
101
102
102
1. In Visual Studio **Solution Explorer**, right-click the C# or Visual Basic project and select **Properties**, or use the Alt + Enter keyboard shortcut. The **Properties** pane opens.
103
103
104
104
1. In the **Properties** pane, enable mixed-mode debugging by setting the following property:
105
105
106
-
::: moniker range=">=vs-2022"
107
-
108
-
**.NET Framework code**
109
-
110
-
If you're using .NET Framework code, which has no debug launch profile, follow these steps:
111
-
112
-
1. On the left menu, select **Debug**.
113
-
114
-
1. In the **Debugger engines** section, select the **Enable native code debugging** property:
115
-
116
-
:::image type="content" source="../debugger/media/mixed-mode-enable-native-code-debugging.png" border="false" alt-text="Screenshot that shows how to enable mixed mode debugging for a C# or Visual Basic project in Visual Studio 2019.":::
117
-
118
-
1. To apply the property change, close the **Properties** pane.
119
-
120
-
::: moniker-end
121
-
::: moniker range="<=vs-2019"
122
-
123
106
1. On the left menu, select **Debug**.
124
107
125
108
1. In the **Debugger engines** section, select the **Enable native code debugging** property:
@@ -128,9 +111,6 @@ To enable mixed-mode debugging for a managed calling app in C# or Visual Basic,
128
111
129
112
1. To apply the property change, close the **Properties** pane.
130
113
131
-
> [!NOTE]
132
-
> For a .NET Core app in Visual Studio 2017 and Visual Studio 2019, you must use the *launchSettings.json* file instead of the project properties to enable mixed-mode debugging.
0 commit comments