godotengine / godotengine/godot-vscode-plugin
The debugger doesn't show any data (possible duplicate)
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### 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:
- [#699](https://github.com/godotengine/godot-vscode-plugin/issues/699)
- [#432](https://github.com/godotengine/godot-vscode-plugin/issues/432)
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:
https://github.com/godotengine/godot-vscode-plugin/issues/432#issuecomment-3977404175
### 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
Contributor guide
Assessment
This issue has not been assessed yet.