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

Debugging Native Applications with Embedded Interpreter

Jul 19, 2013 at 3:59 PM
I'm working on an application that mixes c and python via ctypes, but the c application embeds the python interpreter on startup (it doesn't load a dll at runtime) . In visual studio, I have the cython interpreter as one project (static lib), my c application (that starts cython) as an exe project, and my python code as a third project. Is it possible for me to start my native exe and have mixed native/python debugging?

I am using VS 2013 Ultimate Preview.

Sep 6, 2013 at 12:26 AM
By "embeds the interpreter", do you mean that it dynamically links to the Python DLL? Or does it link statically?

If it is the former, then mixed native/Python debugging should just work (provided that the DLL comes from a supported Python version; if it is a custom-built one, you will need to provide symbols for it). If, however, Python is statically linked into the application, we will not detect it as such.