godotengine / godotengine/godot-vscode-plugin

Debugging: Node type variables show only ID Instead of details

Open
#729 1 comment 9 reactions 0 assignees View on GitHub
bug debugger
Dominant language
TypeScript
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### Godot version

v4.3.stable.official [77dcf97d8]

### VS Code version

1.93.1 (Universal)

### Godot Tools VS Code extension version

2.2.0

### System information

MacOs 14.6.1

### Issue description

During debugging in VSCode, when hovering over variables of type Node, I only see the object's ID instead of detailed information about the object. This issue seems to be inconsistent, as I created a copy of the project with a new name and removed the .godot folder, and everything worked correctly again.

However, when I removed the .godot folder in the original project and restarted both Godot and VSCode, the issue persisted.

This may be difficult to reproduce easily, but perhaps someone else has encountered a similar issue and can provide more information.

Expected behavior: Hovering over node variables should display detailed information about the object.
![image](https://github.com/user-attachments/assets/baa6189c-4e7e-4c2a-a078-38e87b6d417a)

Actual behavior: Only the object ID is displayed.
![image](https://github.com/user-attachments/assets/fa316e15-53ae-4201-9698-bee8eb87ea2c)

### Steps to reproduce

[godotbuginstantiateexportsetter.zip](https://github.com/user-attachments/files/17244782/godotbuginstantiateexportsetter.zip)

Steps to reproduce:

Open a project in Godot.
Debug main.gd script containing node type variables.
Set breakpoint on "pass"
Hover over the 'sprite_2d' variable in VSCode.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.