microsoft / microsoft/PTVS

The "Enable Mixed Mode Debugging" feature in Python projects seems not to support the python3.13t (free-threaded) version.

Open
#8,255 0 comments 0 reactions 1 assignee View on GitHub

@StellaHuang95 is already working on this.

Since Jun 14, 2025.

needs repro
Dominant language
C#
Stars
2.6k
Forks
680
Avg merge
39m
Merged PRs (30d)
1

Description

Describe your question
Hello.
I encountered a problem when using the "Enable mixed-mode debugging in a Python project" feature in VS2022 with Python python3.13t.exe and python3.13t_d.exe (the latest version with no GIL feature).I didn't use the Python venv environment.

I am currently using Visual Studio Version 17.14. It seems that current version cannot correctly support the "Enable mixed-mode debugging in a Python project" feature when using the Python 3.13t (free-thread) version. A rough test shows that Python 3.13 does support it. Is that so? Is this a problem or is there a plan to support it in the future?

What have you tried?
If i turn off 'Enable native code debugging' option in Python project, i could debug Python code. But, i can not debug C++ code.
If I enable the "Enable native code debugging" option, I can only debug C++ code. The breakpoints in Python code cannot be hit, and both so and pdb are loaded normally.

Additional context
[Add any other information or screenshots that would help us provide you with a better answer]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.