Skip to content

Variables do not reliably show in debugger #97

Open

Description

@atirutw

I am still not sure if there's a pattern to this issue, but sometimes, variables will not show at all. This seems to happen on first debugging session after launching Godot and Zed most of the time, and seems to be resolved in subsequent sessions.

Variables showing normally

Image

Variables missing entirely

Image

Activity

  1. NathanLovato commented on Sep 11, 2026

    @NathanLovato
    Contributor

    Just so you know, we do almost nothing in this extension, and we have limited control over what happens. We just connect with a few lines of code, and then Zed and Godot communicate through the debugger adapter protocol.

    I'll leave this up in case someone has an idea for things we could do, for example, to verify that the connection was successful and that the two processes are communicating successfully. We looked before at automatically restarting the language server or things like these, like what was done in the VS Code extension, but found that we did not have a hook for that. For the debugger, maybe we can hack it because we do have an entry point for launching debug commands.

  2. added theissue type on Sep 11, 2026
  3. fstxz commented on Sep 12, 2026

    @fstxz
    Contributor

    When variables don't show, do other debugger functions work? Like console output, breakpoints, stepping through code, etc.

  4. atirutw commented on Sep 12, 2026

    @atirutw
    Author

    Just so you know, we do almost nothing in this extension, and we have limited control over what happens. We just connect with a few lines of code, and then Zed and Godot communicate through the debugger adapter protocol.

    I take it this is a Godot issue, then?

    When variables don't show, do other debugger functions work? Like console output, breakpoints, stepping through code, etc.

    Everything else works fine, yeah.

  5. NathanLovato commented on Sep 12, 2026

    @NathanLovato
    Contributor

    I take it this is a Godot issue, then?

    I do not know, I would need to take time to investigate and read the streams of data exchanged between Godot and Zed. I have quite a lot on my plate, so I'll leave that for someone else to do if they would like to (at least for the time being/while I have higher priority tasks I need to attend to).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions