Hi Brian,

As an example of a KiXtart script debugger using a KiXtart script as debugger, have a look at
my script Making use of KiXGUI, easy cut'n paste code
I know the title is misleading, but this is in fact a KiX debugger written in KiX.
It fills out your 1. and 2. goal.

As for the 3. possibility to trace and 4. enhance the script you have a hard job,
but good luck (might be funn to make).

Also have a look at MCA's tools KiXStrip.exe, whitch will do 1. and 2. and partly 3.
It can be downloaded from MCA's homepage

-Erik