www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12244] New: Locals with the same name in different sub-scopes confuse the debugger

https://d.puremagic.com/issues/show_bug.cgi?id=12244

           Summary: Locals with the same name in different sub-scopes
                    confuse the debugger
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: turkeyman gmail.com


--- Comment #0 from Manu <turkeyman gmail.com> 2014-02-25 00:12:03 PST ---
void func()
{
  {
    int x;
  }

  ...

  {
    int x;
  }
}

This situation comes up all the time, the debugger appears to get confused and
the value presented of often rubbish.

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