Class SetExceptionBreakpointsResponse


  • public class SetExceptionBreakpointsResponse
    extends java.lang.Object
    Response to 'setExceptionBreakpoints' request.

    The response contains an array of Breakpoint objects with information about each exception breakpoint or filter. The Breakpoint objects are in the same order as the elements of the 'filters', 'filterOptions', 'exceptionOptions' arrays given as arguments. If both 'filters' and 'filterOptions' are given, the returned array must start with 'filters' information first, followed by 'filterOptions' information.

    The 'verified' property of a Breakpoint object signals whether the exception breakpoint or filter could be successfully created and whether the condition or hit count expressions are valid. In case of an error the 'message' property explains the problem. The 'id' property can be used to introduce a unique ID for the exception breakpoint or filter so that it can be updated subsequently by sending breakpoint events.

    For backward compatibility both the 'breakpoints' array and the enclosing 'body' are optional. If these elements are missing a client is not able to show problems for individual exception breakpoints or filters.

    • Constructor Detail

      • SetExceptionBreakpointsResponse

        public SetExceptionBreakpointsResponse()
    • Method Detail

      • getBreakpoints

        public Breakpoint[] getBreakpoints()
        Information about the exception breakpoints or filters.

        The breakpoints returned are in the same order as the elements of the 'filters', 'filterOptions', 'exceptionOptions' arrays in the arguments. If both 'filters' and 'filterOptions' are given, the returned array must start with 'filters' information first, followed by 'filterOptions' information.

        This is an optional property.

        Since 1.47

      • setBreakpoints

        public void setBreakpoints​(Breakpoint[] breakpoints)
        Information about the exception breakpoints or filters.

        The breakpoints returned are in the same order as the elements of the 'filters', 'filterOptions', 'exceptionOptions' arrays in the arguments. If both 'filters' and 'filterOptions' are given, the returned array must start with 'filters' information first, followed by 'filterOptions' information.

        This is an optional property.

        Since 1.47

      • 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