package protocol
import "cloud.google.com/go/cmd/go-cloud-debug-agent/internal/debug/server/protocol"
Package protocol defines the types used to represent calls to the debug server.
Index ¶
- type BreakpointAtFunctionRequest
- type BreakpointAtLineRequest
- type BreakpointRequest
- type BreakpointResponse
- type CloseRequest
- type CloseResponse
- type DeleteBreakpointsRequest
- type DeleteBreakpointsResponse
- type EvalRequest
- type EvalResponse
- type EvaluateRequest
- type EvaluateResponse
- type FramesRequest
- type FramesResponse
- type GoroutinesRequest
- type GoroutinesResponse
- type MapElementRequest
- type MapElementResponse
- type OpenRequest
- type OpenResponse
- type ReadAtRequest
- type ReadAtResponse
- type ResumeRequest
- type ResumeResponse
- type RunRequest
- type RunResponse
- type ValueRequest
- type ValueResponse
- type VarByNameRequest
- type VarByNameResponse
- type WriteAtRequest
- type WriteAtResponse
Types ¶
type BreakpointAtFunctionRequest ¶
type BreakpointAtFunctionRequest struct { Function string }
type BreakpointAtLineRequest ¶
type BreakpointRequest ¶
type BreakpointRequest struct { Address uint64 }
type BreakpointResponse ¶
type BreakpointResponse struct { PCs []uint64 }
type CloseRequest ¶
type CloseRequest struct { FD int }
type CloseResponse ¶
type CloseResponse struct { }
type DeleteBreakpointsRequest ¶
type DeleteBreakpointsRequest struct { PCs []uint64 }
type DeleteBreakpointsResponse ¶
type DeleteBreakpointsResponse struct { }
type EvalRequest ¶
type EvalRequest struct { Expr string }
type EvalResponse ¶
type EvalResponse struct { Result []string }
type EvaluateRequest ¶
type EvaluateRequest struct { Expression string }
type EvaluateResponse ¶
type FramesRequest ¶
type FramesRequest struct { Count int }
type FramesResponse ¶
type GoroutinesRequest ¶
type GoroutinesRequest struct { }
type GoroutinesResponse ¶
type MapElementRequest ¶
type MapElementResponse ¶
type OpenRequest ¶
type OpenResponse ¶
type OpenResponse struct { FD int }
type ReadAtRequest ¶
type ReadAtResponse ¶
type ReadAtResponse struct { Data []byte }
type ResumeRequest ¶
type ResumeRequest struct { }
type ResumeResponse ¶
type RunRequest ¶
type RunRequest struct { Args []string }
type RunResponse ¶
type ValueRequest ¶
type ValueResponse ¶
type VarByNameRequest ¶
type VarByNameRequest struct { Name string }
type VarByNameResponse ¶
type WriteAtRequest ¶
type WriteAtResponse ¶
type WriteAtResponse struct { Len int }
Source Files ¶
protocol.go
- Version
- v0.100.2
- Published
- Jan 5, 2022
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 1 minute ago –
Tools for package owners.