Bug 12244 – Locals with the same name in different sub-scopes confuse the debugger
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-02-25T00:12:00Z
Last change time
2014-12-20T13:39:52Z
Keywords
symdeb
Assigned to
nobody
Creator
turkeyman
Comments
Comment #0 by turkeyman — 2014-02-25T00:12:03Z
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.
Comment #1 by r.sagitario — 2014-12-20T13:39:52Z
*** This issue has been marked as a duplicate of issue 3657 ***