Skip to content

Commit 6eab960

Browse files
author
Kraig Brockschmidt
committed
Add note on workload option
1 parent abcdf82 commit 6eab960

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/python/debugging-mixed-mode.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ ms.workload:
2222

2323
Most regular Python debuggers support debugging of only Python code. In practice, however, Python is used in conjunction with C or C++ in scenarios requiring high performance or the ability to directly invoke platform APIs. (See [Creating a C++ extension for Python](cpp-and-python.md) for a walkthrough.)
2424

25-
Visual Studio provides integrated, simultaneous mixed-mode debugging for Python and native C/C++, including:
25+
Visual Studio provides integrated, simultaneous mixed-mode debugging for Python and native C/C++, provided that you select the **Python native development tools** option for the Python Development workload in the Visual Studio installer.
26+
27+
Mixed-mode debugging features include the following, as explained in this article:
2628

2729
- Combined call stacks
2830
- Step between Python and native code
@@ -39,7 +41,7 @@ For a video introduction to building, testing, and debugging native C modules wi
3941
> [!Note]
4042
> Mixed-mode debugging is not available with Python Tools for Visual Studio 1.x.
4143
42-
## Enabling mixed-mode debugging in a Python project
44+
## Enable mixed-mode debugging in a Python project
4345

4446
1. Right-click the Python project in Solution Explorer, select **Properties**, select the **Debug** tab, and then select **Enable native code debugging**. This option enables mixed-mode for all debugging sessions.
4547

0 commit comments

Comments
 (0)