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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 25 00:12:09 PST 2014


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 at puremagic.com
        ReportedBy: turkeyman at gmail.com


--- Comment #0 from Manu <turkeyman at 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: -------


More information about the Digitalmars-d-bugs mailing list