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

DS-5 CE Debugger Issues In Multi-User Linux Environment

Hi,

We have ARM DS-5 CE installed in a shared location in a multi-user Linux environment.
This is so students can run DS-5 for some basic assembly homework assignments via X-Forwarding rather than having to install on their systems.
We're running into an issue where when two or more users simultaneously run an instance of the debugger, the actions of one user affect the actions of another.
For example, if User A presses F5 to step an instruction, User B and User C also see their debuggers step an instruction.
The issue persists even when running individual installations of DS-5 CE from each user's home directories.

Thank you.

Parents
  • Hi,

    I took a look at this issue this morning. The Foundation Model debug connection is setup so that it looks to see if the local machine already has such a model already running. If it does then the debug connection will connect the the already running model. In your use case, the first user to create a debug connection will cause the model to be automatically launched. The second user will then create a connection to that same model. This explains why they seem to interfere with each other - because they are both debugging the same model!

    To change this, so that each debug connection launches its own Foundation Model instance, requires the modification of the debugger's configuration database files. The change is simple - but I'm afraid the DS-5 CE license does not allow modification of these files (in the same way that you cant create new debug configurations). To allow such changes to be made requires use of a non CE DS-5 license.

    Arm does have educational editions of its products available for educational use. Perhaps you would like to discuss this off line so that we can work to make DS-5 available to your students. If you wish to do this, send an email to feedback-ds5@arm.com and it will get to me.

    Kind regards, Tony.

Reply
  • Hi,

    I took a look at this issue this morning. The Foundation Model debug connection is setup so that it looks to see if the local machine already has such a model already running. If it does then the debug connection will connect the the already running model. In your use case, the first user to create a debug connection will cause the model to be automatically launched. The second user will then create a connection to that same model. This explains why they seem to interfere with each other - because they are both debugging the same model!

    To change this, so that each debug connection launches its own Foundation Model instance, requires the modification of the debugger's configuration database files. The change is simple - but I'm afraid the DS-5 CE license does not allow modification of these files (in the same way that you cant create new debug configurations). To allow such changes to be made requires use of a non CE DS-5 license.

    Arm does have educational editions of its products available for educational use. Perhaps you would like to discuss this off line so that we can work to make DS-5 available to your students. If you wish to do this, send an email to feedback-ds5@arm.com and it will get to me.

    Kind regards, Tony.

Children