diff options
author | 2023-10-14 12:58:30 -0700 | |
---|---|---|
committer | 2023-10-14 12:58:30 -0700 | |
commit | f9add8b6bea4df3cdbd56a21f17e4cab1a854e4e (patch) | |
tree | 8e5306104d81c67b771181337bba02cd9ec39453 /packages/bun-debug-adapter-protocol/src/protocol/index.d.ts | |
parent | 81a1a58d66c598ea35c42453d0ba4c6341a940fc (diff) | |
parent | 9b5e66453b0879ed77b71dcdbe50e4efa184261e (diff) | |
download | bun-sdl.tar.gz bun-sdl.tar.zst bun-sdl.zip |
Merge branch 'main' into sdlsdl
Diffstat (limited to 'packages/bun-debug-adapter-protocol/src/protocol/index.d.ts')
-rw-r--r-- | packages/bun-debug-adapter-protocol/src/protocol/index.d.ts | 22 |
1 files changed, 18 insertions, 4 deletions
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; }; |