debugging program that uses ctypes
miki.tebeka at gmail.com
Sun Sep 9 08:21:05 CEST 2007
> hi all, I have a python program that calls a dll through ctypes
> (py2.5). In some (reproducible)
> conditions the program crashes with an error in ctypes module.
> How can I trace down the problem? I have created a debug build of
> python but I also use pyodbc
> and dateutil libraries in my program and I don't know how to make them
> visible to python_d.exe
> Am I using the right approach?
If you are the one compiling the called module, you can add `__asm int
3` somewhere in
the code. When this is reached, the windows debugger will pop up on
Miki <miki.tebeka at gmail.com>
More information about the Python-list