Embedded Python script debugger???

Neil Hodgson nhodgson at bigpond.net.au
Wed May 15 19:51:37 EDT 2002


Salman Khilji:

> I then want to let the user run scripts using some sort of a menu allowing
> Python as a built-in scripting language of the application.  The
> application will expose a lot of its functionaility to Python (the
internel
> data structures will be modifyable by Python so that the power-users can
do
> almost anything in the aplication using the script instead of using the
> GUI)  The problem is that users will want to run the scripts in debug
> mode---stepping line by line---stepping into, out etc.

   I don't think there is anything available that bundles this up neatly for
you. If you are on Windows then you could use PythonWin as the basis for
your app but that will be quite a bit of work. You could look at HAP
debugger which is a bit similar to Komodo in that it works over a socket,
although I think you have to run the Python code within their debug host.
I'm sure ActiveState would be interested in licensing a bundled or embedded
version of Komodo.

   A nicely componentised Python GUI debugger would be a good open-source
project. This is a bit similar to the PyCrust project which makes an
interactive Python shell that can easily be included in wxPython
applications.

   Neil






More information about the Python-list mailing list