debugging into a DLL with embedded Python

Lance lbrannma at cablespeed.com
Tue Dec 17 09:07:15 EST 2002


Hi All,

I embedded Python into a DLL that I call from a GAUSS (a matrix programming
language) program. GAUSS passes a string to a C function which, in turn,
executes Python code.

I would like to debug into the C DLL. I don't need to step into the Python
code, only the C code.

I run ActiveState's PythonWin on Windows XP and have only their binary code.
I believe I need the PythonWin source code to have debug abilities, even
though I don't need to enter the Python code.

One solution is to download the Python source from sourceforge and compile
it with a debug setting. However, I recall seeing a message during my
PythonWin installation that PythonWin is not compatible with other Python
installations on the same machine.

Can anyone suggest a solution? I'd like to continue using PythonWin, but
need debug abilities.

I'm using Visual C++ 6.0.

Thanks in advance,
Lance







More information about the Python-list mailing list