Thanks for that link Steve. I will read it and see what it can help me do. It does seem like it is pretty much on target for the scenario I have, which is a C DLL project that is invoked by python wrapper functions invoked from a python script.
-----Original Message----- From: Steve Dower firstname.lastname@example.org Sent: Thursday, December 17, 2020 5:22 AM To: email@example.com; 'Python Dev' firstname.lastname@example.org Subject: Re: [Python-Dev] Re: Advice / RTFM needed for tool setup to participate in python development from a Windows host
On 16Dec2020 2114, email@example.com 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.
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 ;) )