No response to initialize request · Issue #104 · microsoft/vscode-mono-debug · GitHub
Skip to content

No response to initialize request #104

Open

Description

@walcht

Issue:
The debug adapter doesn't respond to the following request:

Content-Length: 377\r\n\r\n{"type": "request", "seq": 1, "command": "initialize", "arguments": {"adapterID": "nvim-dap", "clientID": "neovim", "clientName": "neovim", "columnsStartAt1": true, "linesStartAt1": true, "locale": "en_US.UTF-8", "pathFormat": "path", "supportsProgressReporting": true, "supportsRunInTerminalRequest": true, "supportsStartDebuggingRequest": true, "supportsVariableType": true}}

Reason:
String.IndexOf(TWO_CRLF) returns -1 instead of the expected value 19
(related to: dotnet/runtime#43736)

Fix:
Using a verbatim string solves the issue

protected const string TWO_CRLF = @"\r\n\r\n";

built using dotnet version 9.0.108
ran using mono version Mono JIT compiler version 6.8.0.105
on:

Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:        24.04
Codename:       noble

Activity

  1. added a commit that references this issue on Aug 7, 2025
    cdd00f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions