PTVS
PTVS copied to clipboard
Lots of debug symbols are being loaded at every application start
Working on VS 17.7.0 Preview 1 (same applies to all previous versions). Python is the default one (3.9.13), shipped with Visual Studio distro. Appears that it doesn't ship debug symbols, unlike a vanilla Python installed from official Python distro. We have a C++ project which uses Python code via pybind11. In a pretty regular way, so I am not sharing the code. When we start the project in this configuration for debugging using "Python/Native Debugging", lots of messages like
Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\Lib\site-packages\pandas\_libs\parsers.cp39-win_amd64.pyd'. Module was built without symbols.
start to flow in to Output window. It can take a minute before the app is actually started, every time. Varying options in "Tools → Options → Debugging → Symbols", especially for caching settings, doesn't help. Is there any way to address it? Debugging experience is terrible because of this time waste at every start.
We have exactly the same issue in our group. It is very annoying and actually mixed-mode debugging with C++ and Python is unusable for us at the moment.
Any update on this?