[Issue 15739] New: Can't inspect contents of a struct in an AA of structs
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Mar  1 15:16:18 PST 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15739
          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 at puremagic.com
          Reporter: musicaljelly at 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:
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/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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list