how to debug python's extend module written in c/c++ on windows
Diez B. Roggisch
deets at nospam.web.de
Thu Jul 17 10:37:17 EDT 2008
fang wrote:
> Dear Diez:
>
> It is attaching a C-debugger to python. I can attach python-
> debugger(for example:wingIDE) to c-debugger(for example:VS2008), but I
> cannot attach VS2008 to wingIDE. I need both python statement and c
> statement can be single-step debugged.
AFAIK that's not possible. First of all, *don't* attach VS2008 to WingIDE,
use VS2008 to start a python-interpreter with commandline-args (at least
that's how it works for me in gdb)
And then write only small python-scripts that expose an actual error in the
DLL, and debug these.
Diez
More information about the Python-list
mailing list