Module types

Module types 

Source
Expand description

JSON-RPC protocol types and data structures.

This module defines all the data structures used for JSON-RPC communication between debugging clients (frontends, IDEs, etc.) and the EDB RPC server. All types implement the JSON-RPC 2.0 specification for consistent protocol handling.

§Protocol Types

  • RpcRequest - Incoming JSON-RPC request with method and parameters
  • RpcResponse - Outgoing JSON-RPC response with result or error
  • RpcError - Structured error information following JSON-RPC error format
  • RpcId - Request/response identifier (string or number)

§Debugging Types

§Error Handling

The module includes standard JSON-RPC error codes in the error_codes module for consistent error reporting across all RPC methods.

Modules§

error_codes
JSON-RPC error codes for consistent error reporting.

Structs§

Breakpoint
Debugging breakpoint configuration.
BreakpointId
Unique identifier for a breakpoint.
BreakpointLocation
Location specification for a breakpoint.
RpcError
JSON-RPC 2.0 error structure.
RpcRequest
JSON-RPC 2.0 request structure.
RpcResponse
JSON-RPC 2.0 response structure.

Enums§

LocationType
Type of breakpoint location.
RpcId
JSON-RPC request/response identifier.