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 parametersRpcResponse- Outgoing JSON-RPC response with result or errorRpcError- Structured error information following JSON-RPC error formatRpcId- Request/response identifier (string or number)
§Debugging Types
Breakpoint- Breakpoint configuration and metadataBreakpointLocation- Location specification for breakpointsLocationType- Type of location (source line vs program counter)
§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.
- Breakpoint
Id - Unique identifier for a breakpoint.
- Breakpoint
Location - 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§
- Location
Type - Type of breakpoint location.
- RpcId
- JSON-RPC request/response identifier.