http://d.puremagic.com/issues/show_bug.cgi?id=4898

           Summary: Can't see parent function's variables from nested
                    functions when debugging
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: aldonun...@gmail.com


--- Comment #0 from Aldo Nunez <aldonun...@gmail.com> 2010-09-19 14:24:58 PDT 
---
The debug info for a nested function has an entry for a "this" variable which
points to the variables in the parent function that the nested function can
use. The type of that variable is void*. 

If it were a kind of struct, then we could see those dependent variables. This
is particularly useful for closures where the user can't look at the enclosing
function's frame directly.

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

Reply via email to