Skip to content

Commit 448bf31

Browse files
committed
Moved rcp message to proper position
1 parent ab03161 commit 448bf31

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

rpc/cc/arduino/cli/commands/v1/commands.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ service ArduinoCoreService {
182182
// Start a debug session and communicate with the debugger tool.
183183
rpc Debug(stream DebugRequest) returns (stream DebugResponse) {}
184184

185+
// Query the debugger information given a specific configuration.
185186
rpc GetDebugConfig(GetDebugConfigRequest) returns (GetDebugConfigResponse) {}
186187

187188
// List all the settings.

rpc/cc/arduino/cli/commands/v1/debug.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ message DebugRequest {
4343
bool send_interrupt = 3;
4444
}
4545

46+
// The streaming response may contain chunks of data from the debugger or an error.
47+
message DebugResponse {
48+
// Incoming data from the debugger tool.
49+
bytes data = 1;
50+
// Incoming error output from the debugger tool.
51+
string error = 2;
52+
}
53+
4654
message GetDebugConfigRequest {
4755
// Arduino Core Service instance from the `Init` response.
4856
Instance instance = 1;
@@ -65,14 +73,6 @@ message GetDebugConfigRequest {
6573
string programmer = 9;
6674
}
6775

68-
//
69-
message DebugResponse {
70-
// Incoming data from the debugger tool.
71-
bytes data = 1;
72-
// Incoming error output from the debugger tool.
73-
string error = 2;
74-
}
75-
7676
message GetDebugConfigResponse {
7777
// The executable binary to debug
7878
string executable = 1;

0 commit comments

Comments
 (0)