Debugger interface should eval expressions

Mousing over ck[k] when k = 2 should give me the value of ck[2] (= 50) when I hover over it.

Really seeing the whole expression tree would be useful. By this I mean I wish the tooltip said this, maybe formatted better:

frac = 0
(frac * 100) = 0
k = 2
ck[k] = 50
(frac * 100 <= ck[k]) = true

The caret to expand the table is useful sometimes but adds a click and won’t work well for large tables. For large tables I would need to add a custom watch.

Also annyoingly, mousing over “#ck” gives me the same table caret, but doesn’t eval #ck and tell me its 3. I think the only way right now to find #ck is to add a custom watch.

7 Likes