www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11205] New: CodeView: Missing debug info for thunks


           Summary: CodeView: Missing debug info for thunks
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: aldonunez1 gmail.com

--- Comment #0 from Aldo Nunez <aldonunez1 gmail.com> 2013-10-09 04:45:19 PDT
The compiler writes information about procedures in the CodeView debug data.
But, it doesn't write anything about thunks that lead to procedures.
Specifically, I find no S_THUNK32 records.

For example, the compiler writes an adjustor thunk for interface methods that
turn the this argument of the interface's method into the this argument of the
class method that implements it.

If there were information about thunks, then debuggers would know how long they
are, so that the debuggers could step into the related procedures in source
code mode.

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 09 2013