Options
All
  • Public
  • Public/Protected
  • All
Menu

Representation of a memory provider. It is only necessary to implement a new Memory Provider if the behavior of the Debug Adapter for a given session type deviates from the Debug Adapter Protocol. Otherwise, the DefaultMemoryProvider should handle standard DAP requests and responses.

Specific peculiarities that might require special handling include: restrictions on the formatting of memory location identifiers (only hex numbers, e.g.) or deviations from the DAP in the format of the response to a given request.

Hierarchy

  • MemoryProvider

Index

Methods

  • canHandle(session: DebugSession): boolean
  • formatVariableReference(session: DebugSession, variable?: DebugVariable): string
  • readMemory(session: DebugSession, readMemoryArguments: ReadMemoryArguments): Promise<MemoryReadResult>
  • supportsVariableReferenceSyntax(session: DebugSession, variable?: DebugVariable): boolean
  • writeMemory(session: DebugSession, writeMemoryArguments: WriteMemoryArguments): Promise<WriteMemoryResponse>