Debugging my Python extensions (win32)

Bjorn Pettersen BPettersen at NAREX.com
Wed May 15 15:46:51 EDT 2002


So I've created my Python extension modules, and compiling them in
release mode I can call into them and all is well... except there is a
bug in one of the methods. Question: "how do I debug this?" I've tried
compiling Python in debug mode as well as my extension, but that didn't
let me put a breakpoint in my extension class. I'm thinking I need to
compile Python with static libraries (and include my extension in the
Python executable). This seems like a pain however, so I figured I ask
if I'm headed in the right direction or if I'm missing something
simple...

-- bjorn





More information about the Python-list mailing list