From 164e7f8a2ff8b78290e66742f02a82fc87d37343 Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Wed, 10 Feb 2021 16:37:19 +0100 Subject: [PATCH] upgrade DAP to 1.45.0-pre.0 --- package.json | 2 +- src/vs/workbench/contrib/debug/common/debugProtocol.d.ts | 7 +++++++ yarn.lock | 8 ++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 45c7678e9f2..c256b29dc2b 100644 --- a/package.json +++ b/package.json @@ -195,7 +195,7 @@ "underscore": "^1.8.2", "vinyl": "^2.0.0", "vinyl-fs": "^3.0.0", - "vscode-debugprotocol": "1.44.0", + "vscode-debugprotocol": "1.45.0-pre.0", "vscode-nls-dev": "^3.3.1", "vscode-telemetry-extractor": "^1.6.0", "webpack": "^4.43.0", diff --git a/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts b/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts index dad39a583d7..026c2f48422 100644 --- a/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts +++ b/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts @@ -704,6 +704,7 @@ declare module DebugProtocol { The request configures the debuggers response to thrown exceptions. If an exception is configured to break, a 'stopped' event is fired (with reason 'exception'). Clients should only call this request if the capability 'exceptionBreakpointFilters' returns one or more filters. + If a filter or filter option is invalid (e.g. due to an invalid 'condition'), the request should fail with an 'ErrorResponse' explaining the problem(s). */ export interface SetExceptionBreakpointsRequest extends Request { // command: 'setExceptionBreakpoints'; @@ -1629,10 +1630,14 @@ declare module DebugProtocol { filter: string; /** The name of the filter option. This will be shown in the UI. */ label: string; + /** An optional help text providing additional information about the exception filter. This string is typically shown as a hover and must be translated. */ + description?: string; /** Initial value of the filter option. If not specified a value 'false' is assumed. */ default?: boolean; /** Controls whether a condition can be specified for this filter option. If false or missing, a condition can not be set. */ supportsCondition?: boolean; + /** An optional help text providing information about the condition. This string is shown as the placeholder text for a text box and must be translated. */ + conditionDescription?: string; } /** A structured message object. Used to return errors from requests. */ @@ -1774,6 +1779,8 @@ declare module DebugProtocol { endLine?: number; /** An optional end column of the range covered by the stack frame. */ endColumn?: number; + /** Indicates whether this frame can be restarted with the 'restart' request. Clients should only use this if the debug adapter supports the 'restart' request (capability 'supportsRestartRequest' is true). */ + canRestart?: boolean; /** Optional memory reference for the current instruction pointer in this frame. */ instructionPointerReference?: string; /** The module associated with this frame, if any. */ diff --git a/yarn.lock b/yarn.lock index 8559099a526..b8177d34186 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10074,10 +10074,10 @@ vm-browserify@^1.0.1: resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== -vscode-debugprotocol@1.44.0: - version "1.44.0" - resolved "https://registry.yarnpkg.com/vscode-debugprotocol/-/vscode-debugprotocol-1.44.0.tgz#79d11844f908cc5104afc303b3780ad2e5fd486a" - integrity sha512-qf+eBnrDyR2MpP08y1JfzJnFZGHdkk86+SRGRp0XepDGNA6n/Nann5XhtAzdGX/yaZokjTAINK313S2yYhHoPQ== +vscode-debugprotocol@1.45.0-pre.0: + version "1.45.0-pre.0" + resolved "https://registry.yarnpkg.com/vscode-debugprotocol/-/vscode-debugprotocol-1.45.0-pre.0.tgz#7ea4c6e84d966e96a8398241e46bdf98e0dacfde" + integrity sha512-q0ivFfnjFQyL4Qyxp1K8gSdTpfcvlCxmys5adLydBef1XvDKZNONAKalCZZCyaG/vtOlbV1ma6hS5eALNaLd8w== vscode-nls-dev@^3.3.1: version "3.3.1"