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

Debugging script run by native program hosting interpreter.

Oct 8, 2013 at 10:09 AM
I have a native program (An exe written in C/C++), which hosts Python interpreter in itself and runs Python script that further calls some pyds to interact with that program. This is mainly used to automate that program using Python. Now, if I want to debug a Python script which being run by that native program, how to do it? Moreover I am not able to get intellicense support from pyds, even after adding those to reference. The native program uses PyRun_String() function to execute the script. Seems to me that, attaching that native program is not braking the break points. Please help me.
  • Debarshi
Marked as answer by debarshig on 10/8/2013 at 3:22 AM
Oct 8, 2013 at 3:22 PM
It looks like you've managed to get breakpoints working now based on my reply in the other discussion here?

Regarding intellisense for .pyd files, that's just a bug: - it is already resolved in the trunk, and the fix will ship in RTM (but you can build PTVS from source yourself if you don't want to wait!).