Embedded Python script debugger???

David LeBlanc whisper at oz.net
Wed May 22 17:15:19 EDT 2002


You might want to look at
http://home.t-online.de/home/Ulrich.Herold/PyDIntro.htm which proclaims "now
freeware"! This is a tkinter based debugger in a single .py file.

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Salman Khilji
> Sent: Wednesday, May 15, 2002 14:21
> To: python-list at python.org
> Subject: Embedded Python script debugger???
>
>
> I am a Python newbie.  I want to develop C++ <==> Python glue code using
> SWIG.  Then I want to embed the Python interpreter in my C++ application
> (the main program is in my C++ application---I am not developing an
> extension---rather want to embed the interpreter in my application).
>
> 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 looked at Komodo.  Its lets you do this by adding the line:
>
> callkomodo.brk('localhost', 9000)
>
> in your Python script right before where you want to break.  Komodo then
> listens for debug requests on a port # 9000.  When the users has
> Komodo up
> and running, the user can run a script using some dialog box in the
> application and Komodo would gladly kick in the middle of the
> python script
> allowing you to run the script in debug mode.
>
> Well Komodo is nice, but isn't there a free open source
> alternative??  Can
> IDLE do this??  I prefer open-source and free software even for
> commercial
> applications.
>
> Salman
> --
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list