Skip to content

The debugger doesn't show any data (possible duplicate) #987

@dragonregure

Description

@dragonregure

Godot version

4.6

VS Code version

1.109.5

Godot Tools VS Code extension version

2.6.1

System information

Windows 11

Issue description

Bug Description

The debugger does not display any variable data even after performing Step Over or Step Into actions.

Possible Related Issues

This might be related to the following issues:

However, since a release reportedly fixed the earlier issue, this behavior might be caused by something different.

Similar Report

Another user reported the exact same problem using the same VS Code and plugin versions:
#432 (comment)

Workaround

Using debugServer resolves the issue.
However, based on issue #432, this is not considered the correct solution.
Interestingly, when using debugServer, I am still able to access the ACTIVE SCENE TREE, which contradicts the behavior reported by other users.

Expected Behavior

The debugger should display variable data normally when stepping through code.

Actual Behavior

The debugger pauses at breakpoints, but no variable data appears.

Other Details

launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "GDScript: Launch Project",
            "type": "godot",
            "request": "launch",
            "project": "${workspaceFolder}",
            "debug_collisions": false,
            "debug_paths": false,
            "debug_navigation": false,
            "additional_options": ""
        }
    ]
}

Steps to reproduce

  • Place a breakpoint
  • Press F5

Entity should not be null
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions