Embedding python with debugging features

Wolfgang Langner wl at flexis.de
Wed Oct 6 15:51:23 CEST 2004

Hello Peter,

> I'm considering to embed python in an application written in c++ and use it
> as a scripting language.
> Is it possible to provide debugging features?

Yes. Look at boost python: http://www.boost.org
or           SWIG        : http://www.swig.org

To do something useful you need to write an extension module.
In this module you export some of your C++ Classes.

With boost python it is possible to debug extension modules
build against normal python and python_d (debug) version of python.

If you want debug into the python C API you must use the debug version of python.

bye by Wolfgang

More information about the Python-list mailing list