www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15609] New: Populate vtable in debuginfo


          Issue ID: 15609
           Summary: Populate vtable in debuginfo
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

DMD-Win64 emit's debuginfo that looks like:

-    instance    0x0000022610005360
-        libep sharedptr ep RefCounted
            libep sharedptr ep Safe {...}
            rc    2
        libep i icomponent ep IComponent {...}
+        pImpl    0x0000022610021120
+        uid    "logger0"

Notice the 2 entries in the debuginfo with value {...}, those are interfaces.
When debugging in visual studio normally, the _vtable ptr is present in the
structs, and you can expand it to show the list of functions present in the
DMD seems to write the vtable's as some opaque object, and I can't expand and
see what functions are present.

Please make the vtable expandable and list the functions in the debuginfo.

Jan 25 2016