|
1035 | 1035 | "DisconnectRequest": { |
1036 | 1036 | "allOf": [ { "$ref": "#/definitions/Request" }, { |
1037 | 1037 | "type": "object", |
1038 | | - "description": "The 'disconnect' request is sent from the client to the debug adapter in order to stop debugging.\nIt asks the debug adapter to disconnect from the debuggee and to terminate the debug adapter.\nIf the debuggee has been started with the 'launch' request, the 'disconnect' request terminates the debuggee.\nIf the 'attach' request was used to connect to the debuggee, 'disconnect' does not terminate the debuggee.\nThis behavior can be controlled with the 'terminateDebuggee' argument (if supported by the debug adapter).", |
| 1038 | + "description": "The 'disconnect' request asks the debug adapter to disconnect from the debuggee (thus ending the debug session) and then to shut down itself (the debug adapter).\nIn addition, the debug adapter must terminate the debuggee if it was started with the 'launch' request. If an 'attach' request was used to connect to the debuggee, then the debug adapter must not terminate the debuggee.\nThis implicit behavior of when to terminate the debuggee can be overridden with the optional argument 'terminateDebuggee' (which is only supported by a debug adapter if the corresponding capability 'supportTerminateDebuggee' is true).", |
1039 | 1039 | "properties": { |
1040 | 1040 | "command": { |
1041 | 1041 | "type": "string", |
|
1076 | 1076 | "TerminateRequest": { |
1077 | 1077 | "allOf": [ { "$ref": "#/definitions/Request" }, { |
1078 | 1078 | "type": "object", |
1079 | | - "description": "The 'terminate' request is sent from the client to the debug adapter in order to give the debuggee a chance for terminating itself.\nClients should only call this request if the capability 'supportsTerminateRequest' is true.", |
| 1079 | + "description": "The 'terminate' request is sent from the client to the debug adapter in order to shut down the debuggee gracefully. Clients should only call this request if the capability 'supportsTerminateRequest' is true.\nTypically a debug adapter implements 'terminate' by sending a software signal which the debuggee intercepts in order to clean things up properly before terminating itself.\nPlease note that this request does not directly affect the state of the debug session: if the debuggee decides to veto the graceful shutdown for any reason by not terminating itself, then the debug session will just continue.\nClients can surface the 'terminate' request as an explicit command or they can integrate it into a two stage Stop command that first sends 'terminate' to request a graceful shutdown, and if that fails uses 'disconnect' for a forceful shutdown.", |
1080 | 1080 | "properties": { |
1081 | 1081 | "command": { |
1082 | 1082 | "type": "string", |
|
1195 | 1195 | "properties": { |
1196 | 1196 | "source": { |
1197 | 1197 | "$ref": "#/definitions/Source", |
1198 | | - "description": "The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified." |
| 1198 | + "description": "The source location of the breakpoints; either 'source.path' or 'source.sourceReference' must be specified." |
1199 | 1199 | }, |
1200 | 1200 | "breakpoints": { |
1201 | 1201 | "type": "array", |
|
2417 | 2417 | }, |
2418 | 2418 | "context": { |
2419 | 2419 | "type": "string", |
2420 | | - "_enum": [ "watch", "repl", "hover", "clipboard" ], |
| 2420 | + "_enum": [ "variables", "watch", "repl", "hover", "clipboard" ], |
2421 | 2421 | "enumDescriptions": [ |
2422 | | - "evaluate is run in a watch.", |
2423 | | - "evaluate is run from REPL console.", |
2424 | | - "evaluate is run from a data hover.", |
2425 | | - "evaluate is run to generate the value that will be stored in the clipboard.\nThe attribute is only honored by a debug adapter if the capability 'supportsClipboardContext' is true." |
| 2422 | + "evaluate is called from a variables view context.", |
| 2423 | + "evaluate is called from a watch view context.", |
| 2424 | + "evaluate is called from a REPL context.", |
| 2425 | + "evaluate is called to generate the debug hover contents.\nThis value should only be used if the capability 'supportsEvaluateForHovers' is true.", |
| 2426 | + "evaluate is called to generate clipboard contents.\nThis value should only be used if the capability 'supportsClipboardContext' is true." |
2426 | 2427 | ], |
2427 | | - "description": "The context in which the evaluate request is run." |
| 2428 | + "description": "The context in which the evaluate request is used." |
2428 | 2429 | }, |
2429 | 2430 | "format": { |
2430 | 2431 | "$ref": "#/definitions/ValueFormat", |
2431 | | - "description": "Specifies details on how to format the Evaluate result.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true." |
| 2432 | + "description": "Specifies details on how to format the result.\nThe attribute is only honored by a debug adapter if the capability 'supportsValueFormattingOptions' is true." |
2432 | 2433 | } |
2433 | 2434 | }, |
2434 | 2435 | "required": [ "expression" ] |
|
3940 | 3941 |
|
3941 | 3942 | "ExceptionFilterOptions": { |
3942 | 3943 | "type": "object", |
3943 | | - "description": "An ExceptionFilterOptions is used to specify an exception filter together with a condition for the setExceptionsFilter request.", |
| 3944 | + "description": "An ExceptionFilterOptions is used to specify an exception filter together with a condition for the 'setExceptionBreakpoints' request.", |
3944 | 3945 | "properties": { |
3945 | 3946 | "filterId": { |
3946 | 3947 | "type": "string", |
|
0 commit comments