We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b595ef commit 17e86a0Copy full SHA for 17e86a0
helix-dap/src/client.rs
@@ -231,7 +231,11 @@ impl Client {
231
}
232
233
fn next_request_id(&self) -> u64 {
234
- self.request_counter.fetch_add(1, Ordering::Relaxed)
+ // > The `seq` for the first message sent by a client or debug adapter
235
+ // > is 1, and for each subsequent message is 1 greater than the
236
+ // > previous message sent by that actor
237
+ // <https://microsoft.github.io/debug-adapter-protocol/specification#Base_Protocol_ProtocolMessage>
238
+ self.request_counter.fetch_add(1, Ordering::Relaxed) + 1
239
240
241
// Internal, called by specific DAP commands when resuming
0 commit comments