Debugger: fix inspecting objects/variables in Godot v4.5#915
Debugger: fix inspecting objects/variables in Godot v4.5#915yotam-frid wants to merge 2 commits intogodotengine:masterfrom
Conversation
|
What version specifically was this change made? I feel like this is a recent change and was not present in 4.0. |
You're right, it was only merged 5 months ago and was added to the 4.5dev1 upstream: The proposal's been around since last year. Guess it was missed it was a breaking change. Looks like it's going to be part of version 4.5. So it would be wiser to either add a backwards-compatible implementation, or re-add the old command in the godotengine repo |
|
I created a backwards compatibility layer fix - godotengine/godot#110043 |
|
There's no reason to create an issue on the engine, they can change the APIs if they want to. However, this extension explicitly supports all Godot versions after maybe 3.2, so this PR isn't usable as-is. Detecting the connected version and forking the internal logic is the correct solution. |
OK - I did just that 🚀 |
In Godot 4.5, the
scene:inspect_objectremote debugger command was replaced with a multi-object inspectscene:inspect_objectscommand.The extension currently works with the v4.4 schema but hangs indefinitely when inspecting objects in v4.5 projects.
This fixes operations like hover-inspecting variables, or seeing an object's members.