Screenshot of the VS watch window when I'm inspecting an AA
image/png
20733
Comments
Comment #0 by musicaljelly — 2016-03-01T23:16:18Z
Created attachment 1589
Screenshot of the VS watch window when I'm inspecting an AA
With Mago in VisualD, I would expect to be able to drill into the contents of an element in an AA. For example, in an AA of strings to structs, I should see a list of all the string keys and their struct values. I should then be able to hit the arrow next to each key-value pair to inspect the contents of the struct value. The same holds for any non-trivial value type for the AA (classes, arrays, another AA, etc.)
I cannot do this using VisualD 0.3.43 (release). There is no arrow allowing me to expand the contents of each value in the AA.
However, I can create a new watch of the form:
testAA["key"]
...and this will correctly show the contents of the appropriate value in the AA, as I would expect. An example screenshot is attached.
I originally asked about this bug on the forums (https://forum.dlang.org/post/[email protected]) and Rainer mentioned that this used to work and should be logged as a bug.
I'm running VS 2015 on Windows 8.1, using DMD 2.069.0.