@@ -448,9 +448,31 @@ struct SetExceptionBreakpointsArguments {
448448bool fromJSON (const llvm::json::Value &, SetExceptionBreakpointsArguments &,
449449 llvm::json::Path);
450450
451- // / Response to `setExceptionBreakpoints` request can be empty, for backwards
452- // / compatability with older client.
453- using SetExceptionBreakpointsResponseBody = VoidResponse;
451+ // / Response to `setExceptionBreakpoints` request.
452+ // / The response contains an array of Breakpoint objects with information about
453+ // / each exception breakpoint or filter. The Breakpoint objects are in the same
454+ // / order as the elements of the filters, filterOptions, exceptionOptions arrays
455+ // / given as arguments. If both filters and filterOptions are given, the
456+ // / returned array must start with filters information first, followed by
457+ // / filterOptions information.
458+ // / The verified property of a Breakpoint object signals whether the exception
459+ // / breakpoint or filter could be successfully created and whether the condition
460+ // / is valid. In case of an error the message property explains the problem. The
461+ // / id property can be used to introduce a unique ID for the exception
462+ // / breakpoint or filter so that it can be updated subsequently by sending
463+ // / breakpoint events. For backward compatibility both the breakpoints array and
464+ // / the enclosing body are optional. If these elements are missing a client is
465+ // / not able to show problems for individual exception breakpoints or filters.
466+ struct SetExceptionBreakpointsResponseBody {
467+ // / Information about the exception breakpoints or filters.
468+ // / The breakpoints returned are in the same order as the elements of the
469+ // / `filters`, `filterOptions`, `exceptionOptions` arrays in the arguments.
470+ // / If both `filters` and `filterOptions` are given, the returned array must
471+ // / start with `filters` information first, followed by `filterOptions`
472+ // / information.
473+ std::vector<Breakpoint> breakpoints;
474+ };
475+ llvm::json::Value toJSON (const SetExceptionBreakpointsResponseBody &);
454476
455477// / Arguments for `setInstructionBreakpoints` request.
456478struct SetInstructionBreakpointsArguments {
0 commit comments