Skip to content

Commit 2d43384

Browse files
Merge pull request #13114 from Mikejo5000/mikejo-br23
Clarify steps to enable native code debugging for mixed mode debugger…
2 parents 4a00523 + 9cd7479 commit 2d43384

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

docs/debugger/decompilation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ The following illustration shows the **Source Not Found** message.
4444

4545
Starting in Visual Studio 2022 version 17.7, the Visual Studio Debugger supports autodecompilation of external .NET code. You can autodecompile when stepping into external code or when using the Call Stack window.
4646

47-
If you step into code that has been implemented externally, the debugger automatically decompiles it and displays the current point of execution. If you want to step into external code, [Just My Code](../debugger/just-my-code.md) must be disabled.
47+
If you step into code that has been implemented externally, the debugger automatically decompiles it and displays the current point of execution. If you want to step into external code, disable [Just My Code](../debugger/just-my-code.md).
4848

49-
You can easy decompile from the Call Stack window without disabling Just My Code.
49+
You can decompile from the Call Stack window without disabling Just My Code.
5050

5151
To autodecompile from the Call Stack window:
5252

docs/debugger/how-to-debug-in-mixed-mode.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Debug in Mixed Mode (managed and native code)
33
description: Enable mixed-mode debugging (managed and native code together) in Visual Studio with the property pages of the calling app's project.
4-
ms.date: 08/19/2024
4+
ms.date: 09/18/2024
55
ms.topic: how-to
66
dev_langs:
77
- CSharp
@@ -58,6 +58,8 @@ To enable mixed-mode debugging for a managed calling app in C# or Visual Basic,
5858
1. In the **Properties** pane, enable mixed-mode debugging by setting the following property:
5959

6060
::: moniker range=">=vs-2022"
61+
62+
**.NET code**
6163

6264
1. On the left menu, select **Debug**.
6365

docs/debugger/how-to-debug-managed-and-native-code.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Tutorial: Debug C# and C++ code (mixed mode)"
33
description: Debug a native DLL from a .NET Core or .NET Framework application by using mixed-mode debugging to enable more than one debugger type in a debugging session.
4-
ms.date: 10/19/2023
4+
ms.date: 09/18/2024
55
ms.topic: tutorial
66
dev_langs:
77
- "CSharp"
@@ -176,8 +176,15 @@ If you have Visual Studio installed, but don't have the workloads you need, sele
176176
1. Enable native code debugging in the properties.
177177

178178
::: moniker range=">=vs-2022"
179+
**.NET code**
180+
179181
Select **Debug** in the left pane, select **Open debug launch profiles UI**, then select the **Enable native code debugging** check box, and then close the properties page to save the changes.
182+
180183
![Enable mixed mode debugging](../debugger/media/vs-2022/mixed-mode-enable-native-code-debugging.png)
184+
185+
**.NET Framework code**
186+
187+
On the left menu, select **Debug**. Then, in the **Debugger engines** section, select the **Enable native code debugging** property, and then close the properties page to save the changes.
181188
::: moniker-end
182189
::: moniker range="<=vs-2019"
183190
Select **Debug** in the left pane, select the **Enable native code debugging** check box, and then close the properties page to save the changes.

0 commit comments

Comments
 (0)