www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21769] New: Debugger customization methods do not work with LDC

https://issues.dlang.org/show_bug.cgi?id=21769

          Issue ID: 21769
           Summary: Debugger customization methods do not work with LDC
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: kyfolee gmail.com

Using LDC 1.25.1, __debugOverview, __debugExpanded, and __debugStringView do
not work as struct methods in the debug visualizer. They do seem to work as
member fields.

Similarly, invoking methods on structs in the immediate window gives the
following error: "D0001: Error: Expression couldn't be evaluated"

Confirmed working on DMD 2.096.0

--
Mar 25 2021