MCPcopy Index your code
hub / github.com/microsoft/vscode-js-debug / hasMemory

Method hasMemory

src/adapter/variableStore.ts:1676–1678  ·  view source on GitHub ↗

Gets whether the memoryReference exists in this store

(memoryReference: string)

Source from the content-addressed store, hash-verified

1674
1675 /** Gets whether the memoryReference exists in this store */
1676 public hasMemory(memoryReference: string) {
1677 return isMemoryReadable(this.vars.get(Number(memoryReference)));
1678 }
1679
1680 /** Writes memory from the reference at the offset and count */
1681 public async readMemory(memoryReference: string, offset: number, count: number) {

Callers 2

_onReadMemoryMethod · 0.80
_onWriteMemoryMethod · 0.80

Calls 2

isMemoryReadableFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected