Reproduction Steps
In addition to this bug report ("My Watches" showing the expand icon when table is empty), there are several other issues with the Watch window:
A) The first click to sort a column won’t work:
- Create this on a script:
local a01 = { aa = { aaa = 1 }, bb = {} }
local a02 = { aa = { aaa = 1 }, bb = {} }
local a03 = { aa = { aaa = 1 }, bb = {} }
local a04 = { aa = { aaa = 1 }, bb = {} }
local a05 = { aa = { aaa = 1 }, bb = {} }
local a06 = { aa = { aaa = 1 }, bb = {} }
local a07 = { aa = { aaa = 1 }, bb = {} }
local a08 = { aa = { aaa = 1 }, bb = {} }
local a09 = { aa = { aaa = 1 }, bb = {} }
local a10 = { aa = { aaa = 1 }, bb = {} }
local a11 = { aa = { aaa = 1 }, bb = {} }
local a12 = { aa = { aaa = 1 }, bb = {} }
local a13 = { aa = { aaa = 1 }, bb = {} }
local a14 = { aa = { aaa = 1 }, bb = {} }
while true do
print()
end
- Set a breakpoint on line 17 (print)
- Open the Watch window
- Run:
- When debugging pauses on the breakpoint, click on the “Name” column to put all variables descending. The first time you click, it changes the sorting icon, but do not sort anything:
- Only a second click will reorder:
B) Losing column sort at each step:
- Keeping the same script as before, press F10 to trigger the debug Step and the previous sort will be lost:
C: Closing a previous expanded table each step:
- Expand a table:
- Press F10 and the table will be collapsed:
This forces me to keep reopening all levels of a table at every step, making it very difficult to keep track of an internal variable in the table.
D: Losing the scrolling position each step:
- Scroll down to view a variable that still does not appear because it is further down:
- Press F10 and the scrolling will be lost:
In the same case as the previous one, this forces me to keep scrolling again at each step, making it very difficult to follow a variable.
E: Inexistent variadic
being shown:
Expected Behavior
All the bugs reported above shouldn’t happen.
Actual Behavior
All bugs are reported above.
Issue Area: Studio
Issue Type: Display
Impact: Moderate
Frequency: Constantly