Class AbstractBreakpoint

    • Field Detail

      • m_Disabled

        protected boolean m_Disabled
        whether the breakpoint is disabled.
      • m_OnPreInput

        protected boolean m_OnPreInput
        break on preInput.
      • m_OnPostInput

        protected boolean m_OnPostInput
        break on postInput.
      • m_OnPreExecute

        protected boolean m_OnPreExecute
        break on preExecute.
      • m_OnPostExecute

        protected boolean m_OnPostExecute
        break on postExecute.
      • m_OnPreOutput

        protected boolean m_OnPreOutput
        break on preOutput.
      • m_OnPostOutput

        protected boolean m_OnPostOutput
        break on postOutput.
      • m_Views

        protected View[] m_Views
        the views to display automatically.
      • m_Watches

        protected BaseString[] m_Watches
        the watch expressions.
      • m_OneOff

        protected boolean m_OneOff
        whether this is a one-off.
      • m_TriggerCount

        protected int m_TriggerCount
        the trigger counter.
    • Constructor Detail

      • AbstractBreakpoint

        public AbstractBreakpoint()
    • Method Detail

      • setDisabled

        public void setDisabled​(boolean value)
        Sets whether to disable this breakpoint.
        Parameters:
        value - true if to disable
      • getDisabled

        public boolean getDisabled()
        Returns whether this breakpoint is disabled.
        Returns:
        true if disabled
      • disabledTipText

        public String disabledTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOnPreInput

        public void setOnPreInput​(boolean value)
        Sets whether to evaluate the breakpoing on pre-input (of token).
        Parameters:
        value - true if evaluated
      • getOnPreInput

        public boolean getOnPreInput()
        Returns whether the breakpoint gets evaluated on pre-input (of token).
        Returns:
        true if evaluated
      • onPreInputTipText

        public String onPreInputTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOnPostInput

        public void setOnPostInput​(boolean value)
        Sets whether to evaluate the breakpoing on post-input (of token).
        Parameters:
        value - true if evaluated
      • getOnPostInput

        public boolean getOnPostInput()
        Returns whether the breakpoint gets evaluated on post-input (of token).
        Returns:
        true if evaluated
      • onPostInputTipText

        public String onPostInputTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOnPreExecute

        public void setOnPreExecute​(boolean value)
        Sets whether to evaluate the breakpoing on pre-execute.
        Parameters:
        value - true if evaluated
      • getOnPreExecute

        public boolean getOnPreExecute()
        Returns whether the breakpoint gets evaluated on pre-execute.
        Returns:
        true if evaluated
      • onPreExecuteTipText

        public String onPreExecuteTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOnPostExecute

        public void setOnPostExecute​(boolean value)
        Sets whether to evaluate the breakpoing on post-execute.
        Parameters:
        value - true if evaluated
      • getOnPostExecute

        public boolean getOnPostExecute()
        Returns whether the breakpoint gets evaluated on post-execute.
        Returns:
        true if evaluated
      • onPostExecuteTipText

        public String onPostExecuteTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOnPreOutput

        public void setOnPreOutput​(boolean value)
        Sets whether to evaluate the breakpoing on pre-output (of token).
        Parameters:
        value - true if evaluated
      • getOnPreOutput

        public boolean getOnPreOutput()
        Returns whether the breakpoint gets evaluated on pre-output (of token).
        Returns:
        true if evaluated
      • onPreOutputTipText

        public String onPreOutputTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOnPostOutput

        public void setOnPostOutput​(boolean value)
        Sets whether to evaluate the breakpoing on post-output (of token).
        Parameters:
        value - true if evaluated
      • getOnPostOutput

        public boolean getOnPostOutput()
        Returns whether the breakpoint gets evaluated on post-output (of token).
        Returns:
        true if evaluated
      • onPostOutputTipText

        public String onPostOutputTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setWatches

        public void setWatches​(BaseString[] value)
        Sets the watch expressions for the watch dialog.
        Parameters:
        value - the expressions
      • getWatches

        public BaseString[] getWatches()
        Returns the watch expressions for the watch dialog.
        Returns:
        the expressions
      • watchesTipText

        public String watchesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • watchTypesTipText

        public String watchTypesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setViews

        public void setViews​(View[] value)
        Sets the views to display automatically.
        Parameters:
        value - the views
      • getViews

        public View[] getViews()
        Returns the views to display automatically.
        Returns:
        the views
      • viewsTipText

        public String viewsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setOneOff

        public void setOneOff​(boolean value)
        Sets whether the breakpoint is just a one-off one (gets removed once reached).
        Parameters:
        value - true if a one-off breakpoint
      • getOneOff

        public boolean getOneOff()
        Returns whether the breakpoint is just a one-off one (gets removed once reached).
        Returns:
        true if a one-off breakpoint
      • oneOffTipText

        public String oneOffTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • evaluatePreInput

        protected abstract boolean evaluatePreInput​(Actor actor,
                                                    Token token)
        Evaluates the breakpoint at pre-input.
        Parameters:
        actor - the current actor
        token - the token available for input
        Returns:
        true if breakpoint triggers
      • evaluatePostInput

        protected abstract boolean evaluatePostInput​(Actor actor)
        Evaluates the breakpoint at post-input.
        Parameters:
        actor - the current actor
        Returns:
        true if breakpoint triggers
      • evaluatePreExecute

        protected abstract boolean evaluatePreExecute​(Actor actor)
        Evaluates the breakpoint at pre-execute.
        Parameters:
        actor - the current actor
        Returns:
        true if breakpoint triggers
      • evaluatePostExecute

        protected abstract boolean evaluatePostExecute​(Actor actor)
        Evaluates the breakpoint at post-execute.
        Parameters:
        actor - the current actor
        Returns:
        true if breakpoint triggers
      • evaluatePreOutput

        protected abstract boolean evaluatePreOutput​(Actor actor)
        Evaluates the breakpoint at pre-output.
        Parameters:
        actor - the current actor
        Returns:
        true if breakpoint triggers
      • evaluatePostOutput

        protected abstract boolean evaluatePostOutput​(Actor actor,
                                                      Token token)
        Evaluates the breakpoint at post-output.
        Parameters:
        actor - the current actor
        token - the token available for output
        Returns:
        true if breakpoint triggers
      • triggersPreInput

        public boolean triggersPreInput​(Actor actor,
                                        Token token)
        Checks whether the breakpoint gets triggered in pre-input.
        Parameters:
        actor - the current actor
        token - the token available for input
        Returns:
        true if triggered
      • triggersPostInput

        public boolean triggersPostInput​(Actor actor)
        Checks whether the breakpoint gets triggered in post-input.
        Parameters:
        actor - the current actor
        Returns:
        true if triggered
      • triggersPreExecute

        public boolean triggersPreExecute​(Actor actor)
        Checks whether the breakpoint gets triggered in pre-execute.
        Parameters:
        actor - the current actor
        Returns:
        true if triggered
      • triggersPostExecute

        public boolean triggersPostExecute​(Actor actor)
        Checks whether the breakpoint gets triggered in post-execute.
        Parameters:
        actor - the current actor
        Returns:
        true if triggered
      • triggersPreOutput

        public boolean triggersPreOutput​(Actor actor)
        Checks whether the breakpoint gets triggered in pre-output.
        Parameters:
        actor - the current actor
        Returns:
        true if triggered
      • triggersPostOutput

        public boolean triggersPostOutput​(Actor actor,
                                          Token token)
        Checks whether the breakpoint gets triggered in post-output.
        Parameters:
        actor - the current actor
        token - the token available for output
        Returns:
        true if triggered
      • triggered

        public void triggered()
        To be called when triggered (increments counter).
      • getTriggerCount

        public int getTriggerCount()
        Returns the number of times this breakpoint has been triggered.
        Returns:
        the count