www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19349] New: local variables should not show in debugger if


          Issue ID: 19349
           Summary: local variables should not show in debugger if out of
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: r.sagitario gmx.de

from https://forum.dlang.org/thread/rolkovawfyldzeidxgtz forum.dlang.org:

Debug variables are showing when not in scope. Is it possible to remove them?
They also show before they are actually defined in the source code.

int x = 0; < BP here, y and z are shown in the locals.

int y = 3;
   int z = 4;

// z is when when here.

One ends up with a huge list of variables of all the locals when they don't
even "exist". I'm using the Mago debugger.

Nov 03 2018