This project has moved. For the latest updates, please go here.

PTVS and applications that embed python

Oct 25, 2013 at 1:25 PM

I would like to ask if it is possible to use PTVS for mixed-mode debugging, in case an application embeds python. For example, let's say that an executable (written in C/C++) can execute a given python script from the command line, by writing something like the following:
./executable -run 
then, is it possible to do mixed-mode debugging in this case ?

Oct 25, 2013 at 3:55 PM
You can modify the Debug properties of your project to do this. See the command-line arguments section of our Debugging page.

The options you'll want are:

Interpreter Path: ./executable
Interpreter Arguments: -run

And you can check the "Enable native code debugging" checkbox to always use mixed-mode debugging.