Python: How to use debug info files in Visual Studio?

I am writing Python code in Visual Studio 2010 using the excellent Python Tools for Visual Studio . I can set a breakpoint and go through my Python code. However, I cannot go into any standard Python library code (for example, print() ).

I noticed that Python.org also provides Visual Studio debugging information files for each version of Python. These are ZIP files containing .pdb files for the Python release. What do I need to configure in Visual Studio 2010 to be able to use these .pdb files to enter the standard Python library code?

+6
source share
1 answer

We currently do not support mixed mode debugging (from Python to C ++). There you can vote to express your support: http://pytools.codeplex.com/workitem/210

I experimented with letting VS do debug multiplexing at the beginning of development 1.1, but there were some problems with that. If someone wants to implement the "all" function that they have to do is create their own VS debugger and coordinate between Python and native debuggers in a "smart" way. We do not have any immediate plans for this function, but this is what I am sure that in the end we can do it if no one defeats us.

+1
source

Source: https://habr.com/ru/post/909871/


All Articles