Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdscript debugging enhancements re: visibility of variable values (watch window and improved locals view) #3410

Closed
samtsejerome opened this issue Oct 10, 2021 · 1 comment

Comments

@samtsejerome
Copy link

Describe the project you are working on

a 2d platformer

Describe the problem or limitation you are having in your project

it would make debugging a lot easier to be able to see. the value of locals and custom expressions whilst using the godot debugger, I've been trying to manage with just the tooltips but its really hard work, and not conducive to productivity.
the locals window is virtually unusable its so awkward to use,and theres no way to see the value of a custom expression.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

add a watch window/pane to watch the values of variables and expressions of the users choosing.

  • make the locals window simpler to use.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

a "watch" window containing watched expressions that are customisable

an "add watch" option on selected text in the editor would be convenient too.

If this enhancement will not be used often, can it be worked around with a few lines of script?

no it can't.

Is there a reason why this should be core and not an add-on in the asset library?

gdscript is central to the engine, and debugging is an essential part of development -

its currently quite limiting.

@Calinou
Copy link
Member

Calinou commented Oct 10, 2021

Duplicate of #1074.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants