godotengine / godotengine/godot-csharp-vscode

Unable to watch globals

Open
#17 0 comments 0 reactions 1 assignee Claimed by @neikeq View on GitHub
bug
Dominant language
TypeScript
Stars
165
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**OS/device including version:**
Windows 7, bug exists for both Godot 3.3.2 and Godot 3.2.3.

**Issue description:**
While debugging an ordinary console C# application I am able to evaluate globals by typing the fully qualified names of the static fields. However, while debugging a Godot application, no global symbols can be watched this way.

> The watch window works only with the static variables available in the scope of the current class. E.g. watching a static variable `test` on the `Test` class while at a breakpoint in one of the methods of this class works, but only by typing `test` in the watch window. `Test.test` still shows the error.

I have made a [minimal example that illustrates the issue](https://github.com/AntonC9018/godot_debugging_issue).

**Screenshots of issue:**
![image](https://user-images.githubusercontent.com/39066090/122466640-3c777980-cfc2-11eb-98f4-40c1fd814788.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.