Class DataBreakpointInfoArguments


  • public class DataBreakpointInfoArguments
    extends java.lang.Object
    Arguments for 'dataBreakpointInfo' request.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.Boolean getAsAddress()
      If `true`, the `name` is a memory address and the debugger should interpret it as a decimal value, or hex value if it is prefixed with `0x`.
      java.lang.Integer getBytes()
      If specified, a debug adapter should return information for the range of memory extending `bytes` number of bytes from the address or variable specified by `name`.
      java.lang.Integer getFrameId()
      When `name` is an expression, evaluate it in the scope of this stack frame.
      java.lang.String getMode()
      The mode of the desired breakpoint.
      java.lang.String getName()
      The name of the Variable's child to obtain data breakpoint information for.
      java.lang.Integer getVariablesReference()
      Reference to the variable container if the data breakpoint is requested for a child of the container.
      int hashCode()  
      void setAsAddress​(java.lang.Boolean asAddress)
      If `true`, the `name` is a memory address and the debugger should interpret it as a decimal value, or hex value if it is prefixed with `0x`.
      void setBytes​(java.lang.Integer bytes)
      If specified, a debug adapter should return information for the range of memory extending `bytes` number of bytes from the address or variable specified by `name`.
      void setFrameId​(java.lang.Integer frameId)
      When `name` is an expression, evaluate it in the scope of this stack frame.
      void setMode​(java.lang.String mode)
      The mode of the desired breakpoint.
      void setName​(java.lang.String name)
      The name of the Variable's child to obtain data breakpoint information for.
      void setVariablesReference​(java.lang.Integer variablesReference)
      Reference to the variable container if the data breakpoint is requested for a child of the container.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataBreakpointInfoArguments

        public DataBreakpointInfoArguments()
    • Method Detail

      • getVariablesReference

        public java.lang.Integer getVariablesReference()
        Reference to the variable container if the data breakpoint is requested for a child of the container. The `variablesReference` must have been obtained in the current suspended state. See 'Lifetime of Object References' in the DebugProtocol.Overview section for details.

        This is an optional property.

      • setVariablesReference

        public void setVariablesReference​(java.lang.Integer variablesReference)
        Reference to the variable container if the data breakpoint is requested for a child of the container. The `variablesReference` must have been obtained in the current suspended state. See 'Lifetime of Object References' in the DebugProtocol.Overview section for details.

        This is an optional property.

      • getName

        public java.lang.String getName()
        The name of the Variable's child to obtain data breakpoint information for.

        If variablesReference isn't specified, this can be an expression, or an address if `asAddress` is also true.

      • setName

        public void setName​(java.lang.String name)
        The name of the Variable's child to obtain data breakpoint information for.

        If variablesReference isn't specified, this can be an expression, or an address if `asAddress` is also true.

      • getFrameId

        public java.lang.Integer getFrameId()
        When `name` is an expression, evaluate it in the scope of this stack frame. If not specified, the expression is evaluated in the global scope. When `variablesReference` is specified, this property has no effect.

        This is an optional property.

        Since 1.59

      • setFrameId

        public void setFrameId​(java.lang.Integer frameId)
        When `name` is an expression, evaluate it in the scope of this stack frame. If not specified, the expression is evaluated in the global scope. When `variablesReference` is specified, this property has no effect.

        This is an optional property.

        Since 1.59

      • getBytes

        public java.lang.Integer getBytes()
        If specified, a debug adapter should return information for the range of memory extending `bytes` number of bytes from the address or variable specified by `name`. Breakpoints set using the resulting data ID should pause on data access anywhere within that range.

        Clients may set this property only if the `supportsDataBreakpointBytes` capability is true.

        This is an optional property.

        Since 1.66

      • setBytes

        public void setBytes​(java.lang.Integer bytes)
        If specified, a debug adapter should return information for the range of memory extending `bytes` number of bytes from the address or variable specified by `name`. Breakpoints set using the resulting data ID should pause on data access anywhere within that range.

        Clients may set this property only if the `supportsDataBreakpointBytes` capability is true.

        This is an optional property.

        Since 1.66

      • getAsAddress

        public java.lang.Boolean getAsAddress()
        If `true`, the `name` is a memory address and the debugger should interpret it as a decimal value, or hex value if it is prefixed with `0x`.

        Clients may set this property only if the `supportsDataBreakpointBytes` capability is true.

        This is an optional property.

        Since 1.66

      • setAsAddress

        public void setAsAddress​(java.lang.Boolean asAddress)
        If `true`, the `name` is a memory address and the debugger should interpret it as a decimal value, or hex value if it is prefixed with `0x`.

        Clients may set this property only if the `supportsDataBreakpointBytes` capability is true.

        This is an optional property.

        Since 1.66

      • getMode

        public java.lang.String getMode()
        The mode of the desired breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`.

        This is an optional property.

        Since 1.65

      • setMode

        public void setMode​(java.lang.String mode)
        The mode of the desired breakpoint. If defined, this must be one of the `breakpointModes` the debug adapter advertised in its `Capabilities`.

        This is an optional property.

        Since 1.65

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object