debugging into a DLL with embedded Python

Lance lbrannma at cablespeed.com
Tue Dec 17 20:49:54 EST 2002


Thanks.... but I get the following link error, which is because the linker
can't find the debug version of python:

LINK : fatal error LNK1104: cannot open file "python22_d.lib"

Suggestions?


"Lance" <lbrannma at cablespeed.com> wrote in message
news:uvuaqasehreq78 at corp.supernews.com...
> 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