Debugging python with C++ extensions

Lyle Johnson lyle at users.sourceforge.net
Mon Nov 18 15:11:52 EST 2002


Karl G. Merkley wrote:

> I am looking using python as a framework for some C++ components.
> However, I am concerned about debugging across the python/C++ interface.
> How do people currently debug python with C++ extensions.  Every C++
> component will have it's own unit test; however, it seems inevitable that
> there will be times when it would be helpful to step from the python
> code into the C++ component.

This recipe from the Python Cookbook:

	http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66510

may give you something to work with.

Hope this helps,

Lyle




More information about the Python-list mailing list