Documentation ¶
Index ¶
- func Debug(ctx context.Context, req *rpc.GetDebugConfigRequest, inStream io.Reader, ...) (*rpc.DebugResponse, error)
- func GetDebugConfig(ctx context.Context, req *rpc.GetDebugConfigRequest) (*rpc.GetDebugConfigResponse, error)
- func IsDebugSupported(ctx context.Context, req *rpc.IsDebugSupportedRequest) (*rpc.IsDebugSupportedResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(ctx context.Context, req *rpc.GetDebugConfigRequest, inStream io.Reader, out io.Writer, interrupt <-chan os.Signal) (*rpc.DebugResponse, error)
Debug command launches a debug tool for a sketch. It also implements streams routing: gRPC In -> tool stdIn grpc Out <- tool stdOut grpc Out <- tool stdErr It also implements tool process lifecycle management
func GetDebugConfig ¶
func GetDebugConfig(ctx context.Context, req *rpc.GetDebugConfigRequest) (*rpc.GetDebugConfigResponse, error)
GetDebugConfig returns metadata to start debugging with the specified board
func IsDebugSupported ¶
func IsDebugSupported(ctx context.Context, req *rpc.IsDebugSupportedRequest) (*rpc.IsDebugSupportedResponse, error)
IsDebugSupported checks if the given board/programmer configuration supports debugging.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.