native/python debugger cannot find python source code
@int19h is already working on this.
Since Dec 12, 2023.
- Dominant language
- C#
- Stars
- 2.6k
- Forks
- 680
- Avg merge
- 39m
- Merged PRs (30d)
- 1
Description
This issue has been moved from a ticket on Developer Community.
I´m trying to debug python code being called from native code. At first the native/python debugger was not in the list of available debuggers of the native project, description of the (old) issue and workaround can be found here:
https://github.com/Microsoft/PTVS/issues/6712?ref=pythonrepo.com
With the workaround applied I can now start the native/python debugger and debug the native code. I cannot debug the python code though, instead the "source not found" window is being displayed. When I click on "Browse and find *.py..." it displays "Source search information" saying the source HAS been found and the debugger will use it - but it doesn´t switch to the code:

Visual Studio Version: 17.4.1 (up to date)
Original Comments
Feedback Bot on 11/21/2022, 05:26 PM:
(private comment, text removed)
Original Solutions
(no solutions)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.