From 0348b169d6bf9f52b38484395faefa3fd595e8a8 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Tue, 10 Oct 2023 16:12:36 -0700 Subject: Update debug-adapter-protocol --- .../src/protocol/index.d.ts | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'packages/bun-debug-adapter-protocol/src/protocol/index.d.ts') diff --git a/packages/bun-debug-adapter-protocol/src/protocol/index.d.ts b/packages/bun-debug-adapter-protocol/src/protocol/index.d.ts index abf9ecdec..7a8dcc312 100644 --- a/packages/bun-debug-adapter-protocol/src/protocol/index.d.ts +++ b/packages/bun-debug-adapter-protocol/src/protocol/index.d.ts @@ -638,7 +638,7 @@ export namespace DAP { */ export type BreakpointLocationsRequest = { /** - * The source location of the breakpoints; either `source.path` or `source.reference` must be specified. + * The source location of the breakpoints; either `source.path` or `source.sourceReference` must be specified. */ source: Source; /** @@ -1139,6 +1139,12 @@ export namespace DAP { * The value should be less than or equal to 2147483647 (2^31-1). */ indexedVariables?: number; + /** + * A memory reference to a location appropriate for this result. + * For pointer type eval results, this is generally a reference to the memory address contained in the pointer. + * This attribute may be returned by a debug adapter if corresponding capability `supportsMemoryReferences` is true. + */ + memoryReference?: string; }; /** * Arguments for `source` request. @@ -1286,7 +1292,7 @@ export namespace DAP { /** * A memory reference to a location appropriate for this result. * For pointer type eval results, this is generally a reference to the memory address contained in the pointer. - * This attribute should be returned by a debug adapter if corresponding capability `supportsMemoryReferences` is true. + * This attribute may be returned by a debug adapter if corresponding capability `supportsMemoryReferences` is true. */ memoryReference?: string; }; @@ -1344,6 +1350,12 @@ export namespace DAP { * The value should be less than or equal to 2147483647 (2^31-1). */ indexedVariables?: number; + /** + * A memory reference to a location appropriate for this result. + * For pointer type eval results, this is generally a reference to the memory address contained in the pointer. + * This attribute may be returned by a debug adapter if corresponding capability `supportsMemoryReferences` is true. + */ + memoryReference?: string; }; /** * Arguments for `stepInTargets` request. @@ -2064,8 +2076,10 @@ export namespace DAP { */ indexedVariables?: number; /** - * The memory reference for the variable if the variable represents executable code, such as a function pointer. - * This attribute is only required if the corresponding capability `supportsMemoryReferences` is true. + * A memory reference associated with this variable. + * For pointer type variables, this is generally a reference to the memory address contained in the pointer. + * For executable data, this reference may later be used in a `disassemble` request. + * This attribute may be returned by a debug adapter if corresponding capability `supportsMemoryReferences` is true. */ memoryReference?: string; }; -- cgit v1.2.3