Interface IDebuggerVariable


public interface IDebuggerVariable
A variable managed by a debugger. Variables are generally provided by IDebuggerThreadStackFrame.
  • Field Details

  • Method Details

    • getName

      String getName()
      Get the variable name.
      Returns:
    • getAlternateName

      String getAlternateName()
      Returns:
      may be null
    • getFlags

      int getFlags()
      Get the variable bit flags. Refer to the FLAG_xxx constants in this class.
      Returns:
    • canEditValue

      boolean canEditValue()
      Indicate if the value can be changed. Use setTypedValue(ITypedValue) to modify the value.
      Returns:
    • getTypedValue

      ITypedValue getTypedValue()
      Retrieve the variable value.
      Returns:
      the value, null on error
    • setTypedValue

      boolean setTypedValue(ITypedValue value)
      Set the variable value. If the operation is not be permitted or supported, the return value should be false.
      Parameters:
      value - a value whose type must be consistent with the object provided by getTypedValue()
      Returns:
    • canEditType

      boolean canEditType()
      Indicate if the type can be changed (for variables that have unknown type). Use setTypeHint(String) to modify the type.
      Returns:
    • setTypeHint

      boolean setTypeHint(String typeHint)
      Set the type hint for this variable.
      Parameters:
      typeHint -
      Returns:
    • format

      String format()
      Return a complete, human-readable representation of the variable.
      Returns: