On 16Dec2020 2114, pjfarl...@earthlink.net wrote:
If anyone has or knows of step-by-step instructions on how to set that debug
environment up and start the outer-level script with debug breakpoints in the
DLL I would greatly appreciate it. I'm also doing my own searches for
tutorials on debugging python with VS20xx, but have not read/viewed one of
those yet.
Hi Peter
Hopefully this document is able to help you get set up:
https://docs.microsoft.com/en-us/visualstudio/python/debugging-mixed-mode-c-cpp-python-in-visual-studio?view=vs-2019
It gives you a few options, depending on whether you've created a Python
project, a C++ project, or are attaching to a running process. Hopefully
one of those will suit you. There are some videos out there as well, but
they're a little older. (If you don't see Python projects, you'll need
to go back to the Visual Studio installer, select the Python workload
and the Python Native Development option.)
If you run into problems, there's a "Report a problem" (under Help/Send
Feedback) inside VS that will get directly to the team, though most
people are on vacation for the next few weeks. (And yes, "the official
docs aren't good enough for me to follow" is a problem ;) )
Cheers,
Steve
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/5WV7VN3TSIZ5SAPMDLMIWQBMEWRT6OMU/
Code of Conduct: http://python.org/psf/codeofconduct/