/** SetExceptionBreakpoints request; value of command field is 'setExceptionBreakpoints'.
Enable that the debuggee stops on exceptions with a StoppedEvent (event type 'exception').
The request configures the debuggers response to thrown exceptions. If an execption is configured to break, a StoppedEvent is fired (event type 'exception').
/** The context in which the evaluate request is run. Possible values are 'watch' if evaluate is run in a watch, 'repl' if run from the REPL console, or 'hover' if run from a data hover. */
context?:string;
/** Specifies details on how to format the Evaluate result. */
/** The debug adapter supports the RestartRequest. In this case a client should not implement 'restart' by terminating and relaunching the adapter but by calling the RestartRequest. */
supportsRestartRequest?:boolean;
/** The debug adapter supports 'exceptionOptions' on the setExceptionBreakpoints request. */
supportsExceptionOptions?:boolean;
/** The debug adapter supports a 'format' attribute on the stackTraceRequest, variablesRequest, and evaluateRequest. */
supportsValueFormattingOptions?:boolean;
}
/** An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with. */
/** Displays the types of parameters for the stack frame. */
parameterTypes?:boolean;
/** Displays the names of parameters for the stack frame. */
parameterNames?:boolean;
/** Displays the values of parameters for the stack frame. */
parameterValues?:boolean;
/** Displays the line number of the stack frame. */
line?:boolean;
/** Displays the module of the stack frame. */
module?:boolean;
}
/** An ExceptionOptions assigns configuration options to a set of exceptions. */
exportinterfaceExceptionOptions{
/** A path that selects a single or multiple exceptions in a tree. If 'path' is missing, the whole tree is selected. By convention the first segment of the path is a category that is used to group exceptions in the UI. */
path?:ExceptionPathSegment[];
/** Condition when a thrown exception should result in a break. */
breakMode:ExceptionBreakMode;
}
/** This enumeration defines all possible conditions when a thrown exception should result in a break.
never: never breaks,
always: always breaks,
unhandled: breaks when excpetion unhandled,
userUnhandled: breaks if the exception is not handled by user code.
/** An ExceptionPathSegment represents a segment in a path that is used to match leafs or nodes in a tree of exceptions. If a segment consists of more than one name, it matches the names provided if 'negate' is false or missing or it matches anything except the names provided if 'negate' is true. */
exportinterfaceExceptionPathSegment{
/** If false or missing this segment matches the names provided, otherwise it matches anything except the names provided. */
negate?:boolean;
/** Depending on the value of 'negate' the names that should match or not match. */