Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Run jython scripts from command line

Hi,
Is it possible to run a jython script from the command line? It sounds only ds scripts are supported . When invoking the debugger from comand line I would like to connect to a target, load a elf/axf file (this is the easy part) but also do some run/ add breakpoint, set and retrieve data with a jython script to handle all possibilities/ exceptions.
thanks
claude

Parents Reply Children
  • Hi,

    Thanks, but my question was badly formulated, I mean in fact can we launch jython script from the windows command or from a linux console?

    For instance I can have

    debugger --cdb-entry "..." --image "..." --script "my_script.ds"

    But I would like to run directly a python/ jython script

    jython my_Script.py from the console (windows or linux)

    Sounds the highest API is my_debugger=Debugger()

    which returns a handler on the already opened debugg session

    I would like to have the possibily to invoke the debugger from a jython script

    using a configuration DB, a image file and eventually a script.

    But It seems there is no such APIs


    regards
    claude

  • Given what you are trying to do, you might want to invoke DTSL directly via command-line executed .py scripts. More information about DTSL can be found at

    developer.arm.com/.../dtsl

    DS-5 comes with a few DTSL examples that you can run in Eclipse or via a command-prompt. The examples are at

    <DS-5 installation directory>\examples\DTSL_examples.zip