Question

For an application that "embeds" python, can the PTVS plugin be used for mixed-mode debugging ? To be more specific, let's assume that there is an executable (written in C/C++) called "my_executable" that can be run from the command line, with an option to execute a python script file:

./my_executable -exec_script some_script_file.py

In this case, is it possible to use the PTVS plugin to achieve mixed-mode debugging ?

Thanks.

Was it helpful?

Solution

Yes, this is supported if you attach to the process via Debug -> Attach to Process, and enable both Python and Native engines at the same time.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top