godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.95k stars 21.15k forks source link

Cant see subdictionaries while debugging #62773

Open nonunknown opened 2 years ago

nonunknown commented 2 years ago

Godot version

v3.5.rc5.official [ae6059793]

System information

manjaro linux

Issue description

When I try to look the subvalues of a dictionary, especifically dictionary inside dictionary!

https://user-images.githubusercontent.com/58845030/177542186-e8cea80d-4025-4513-a8d0-4fc78b7a029a.mp4

Steps to reproduce

Minimal reproduction project

N/a

akien-mga commented 2 years ago

Sounds like a duplicate of #25375, but it's supposed to be fixed by #60737 in 3.5, CC @kleonc.

kubecz3k commented 2 years ago

From quick test in current main (c41e4b10c3317f837d4b3ece2fb725a8067d884b) I can confirm it seems to work fine with 4.0 Dict used for test

var dict1 = {
    "key" : {"dict2Key" : "This is value"}
}
kleonc commented 2 years ago

Steps to reproduce

* Create a script
* Create a dictionary -> `var dict := {}`
* under the ready function, create a subdictionary -> `dict["test"] = {number=1}`
* place a breakpoint
* try to look at the value in the editor

This works just fine: Godot_v3 5-rc5_win64_gJ6rTe45oh


It seems like Objects within the dictionaries are the culprint here: Godot_v3 5-rc5_win64_0wN6IUK2hW

In the inspector it fails: vWAS7pLkdb

In the debugger it works just fine though: jdJYx1K0yw