www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15739] New: Can't inspect contents of a struct in an AA of


          Issue ID: 15739
           Summary: Can't inspect contents of a struct in an AA of structs
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: musicaljelly gmail.com

Created attachment 1589
  --> https://issues.dlang.org/attachment.cgi?id=1589&action=edit
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:


...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/nb3v7m$ok3$1 digitalmars.com) 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.

Mar 01 2016