Skip to content

Debugger QOL improvements and small fixes#944

Merged
DaelonSuzuka merged 14 commits into
godotengine:masterfrom
MichaelXt:mikp/debugger_QOL
Mar 10, 2026
Merged

Debugger QOL improvements and small fixes#944
DaelonSuzuka merged 14 commits into
godotengine:masterfrom
MichaelXt:mikp/debugger_QOL

Conversation

@MichaelXt
Copy link
Copy Markdown
Contributor

@MichaelXt MichaelXt commented Nov 10, 2025

Debugger QOL improvements and fixes

  • Class properties renamed to match expected behavior: resolves Some debug variable names are "conventionally" incorrect #437
    • members now do not have a prefix in object instances: Member/Foo -> Foo
    • Inherited properties now do have a prefix: Parent1/Foo, ParentOfParent1/Boo
    • Categories are properly treated and not displayed as property
  • __repr__ support
    • If the class contains __repr__ member, value of it will be used as a display name for it's instances representations. That works for Dictionary keys too.

Smaller changes and fixes:

  • Arrays to display actual values for more complex types in preview (Vectors/Rects/etc)
  • Strings are 'quoted' (similar to other DAPs)
  • Rect2i fix (parse as int, not float). fixes Rect2i shows variable wrong #943
  • StringName better representation in values and dict keys: &'StringName'
  • tasks discoverabilty: Added tasks for test and package to tasks.json.

The new class member names

image

The list/dict representation experience

Godot experience:
image
New vscode experience:
image

* Property rename to match expected behavior:
** members now do not have a prefix in object instances: Member/Foo -> Foo
** Inherited properties now do have a prefix: Parent1/Foo, ParentOfParent1/Boo
** Categories are properly treated and not displayed as property
* __repr__ support
** If the class contains __repr__ member, value of it will be used as a display name for it's instances representations. That works for Dictionary keys too.

Smaller changes and fixes:
* Arrays to display actual values for more complex types in preview (Vectors/Rects/etc)
* Strings are 'quoted' (similar to other DAPs)
* Rect2i fix (parse as int, not float)
* StrnigName better representation in values and dict keys: &'StringName'
* tasks discoverabilty: Added tasks for test and package to tasks.json.
Test project: update test proj
@MichaelXt
Copy link
Copy Markdown
Contributor Author

@Calinou, does this change look good to you? What is the path forward with the PR.

@DaelonSuzuka
Copy link
Copy Markdown
Collaborator

These changes look good to me, thanks @MichaelXt!

@DaelonSuzuka DaelonSuzuka merged commit e99adb0 into godotengine:master Mar 10, 2026
4 checks passed
@MichaelXt MichaelXt mentioned this pull request Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rect2i shows variable wrong Some debug variable names are "conventionally" incorrect

3 participants