Skip to content

lldb-dap is emitting "0" as the sequence number for all messages #135101

Open
@JDevlieghere

Description

@JDevlieghere

lldb-dap is emitting "0" as the sequence number for all the messages it sends. That does not conform to the spec: https://microsoft.github.io/debug-adapter-protocol/specification#Base_Protocol_ProtocolMessage

Sequence number of the message (also known as message ID). The seq for the first message sent by a client or debug adapter is 1, and for each subsequent message is 1 greater than the previous message sent by that actor.

We need to stop setting the sequence number in the helpers in JSONUtils and make that part of the code that sends the message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions