Requirement: Develop a debug layer for new CPU based on DS-5.
1. Basically I want to use jython to develop that, and it could be easily loaded and run on debugger CLT by source command. (e.g. source debug.py).
2. The debugger jython interface enables to execute arbitrary DS-5 commands by ec.executeDSCommand. Therefore, in the jython script, we could easily execute the DS commands.
3. However, it's not easy to execute the fucntion of jython scripts.
One way is to just develop one function in the single .py file and then use define/end to realize the self-defined command. It could run on CLT directly.
define echo-all
source debug.py
end
However, it's not possible to do that if there are a lot of debug functions.
The other way is to develop a new CLT for debug scripts. It seems the debugger CTL disabled raw_input/input.
Any suggestions about that? Thanks a lot.