Description
Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.
Godot version
4.0.1 Stable
System information
Windows 11 Vulkan API 1.3.224 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3050 Laptop GPU
Issue description
The company I work for are using Godot for a commercial software project rather than a game and as such we deal with large dictionaries (sometimes have a size in the 1000s). When hitting a breakpoint, if we hover over the variable which is storing the dictionary, it makes the Godot UI to become unresponsive. The only way to get out of it is to hard-crash the editor (using Task Manager or closing the console window, if open).
Using the Stack Variable inspector does not cause this same issue.
Steps to reproduce
- Create a very large dictionary with lots of data, either creating it in code or loading it from a JSON file (the dictionary does not have to be large in file size, just have a lot of elements)
- Place a breakpoint at a point in the code where the value of the variable which stores the dictionary is visible by hovering over it
Minimal reproduction project
This is the project I made to reproduce this, putting a breakpoint on the print(1). Unfortunately, this also showed another bug. Even variables which are not null show as null when hovering over them and when inspecting them in the stack. Printing them does show their value.
dictionary crash.zip