Class DebugController

    • Method Detail

      • clear

        public void clear()
        Clear the set of actors that are being debugged.
      • getDebugProfile

        public DebugProfile getDebugProfile​(Executable actor)
        Get the profile for an actor that is being debugged.
        Parameters:
        actor - The actor for which to retrieve the profile.
        Returns:
        The profile for the actor.
      • isEnabled

        public boolean isEnabled()
        Determine whether debugging is enabled on the set of actors.
        Returns:
        True if debugging is enabled.
      • message

        public void message​(java.lang.String string)
        React to a debug message from the director that we are listening to by ignoring the message.
        Specified by:
        message in interface DebugListener
        Overrides:
        message in class NamedObj
        Parameters:
        string - Debug message.
      • putDebugProfile

        public void putDebugProfile​(Executable actor,
                                    DebugProfile profile)
        Add an actor to the set of actors that are being debugged.
        Parameters:
        actor - The actor to debug.
        profile - The breakpoint configuration for this actor.
      • removeDebugProfile

        public void removeDebugProfile​(Executable actor)
        Remove an actor from the set of actors that are being debugged.
        Parameters:
        actor - The actor to remove.
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enable/disable debugging on the set of actors.
        Parameters:
        enabled - True if debugging should be enabled.