SetExceptionBreakpointsResponse class
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 is 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.
- Inheritance
-
- Object
- ProtocolMessage
- Response
- SetExceptionBreakpointsResponse
Constructors
Properties
- body → Object?
-
Contains request result if success is true and error details if success is
false.
finalinherited
- command → String
-
The command requested.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Contains the raw error in short form if
success
is false. This raw error might be interpreted by the client and is not shown in the UI. Some predefined values exist.finalinherited - requestSeq → int
-
Sequence number of the corresponding request.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seq → int
-
Sequence number of the message (also known as message ID). The
seq
for the first message sent by a client or debug adapter is 1, and for each subsequent message is 1 greater than the previous message sent by that actor.seq
can be used to order requests, responses, and events, and to associate requests with their corresponding responses. For protocol messages of typerequest
the sequence number can be used to cancel the request.finalinherited - success → bool
-
Outcome of the request.
If true, the request was successful and the
body
attribute may contain the result of the request. If the value is false, the attributemessage
contains the error in short form and thebody
may contain additional information (seeErrorResponse.body.error
).finalinherited - type → String
-
Message type.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited