digitalmars.D.bugs - [Issue 19318] New: Variables captured from outer functions not
- d-bugmail puremagic.com (31/31) Oct 20 2018 https://issues.dlang.org/show_bug.cgi?id=19318
https://issues.dlang.org/show_bug.cgi?id=19318 Issue ID: 19318 Summary: Variables captured from outer functions not visible in debugger Product: D Version: D2 Hardware: All OS: Windows Status: NEW Keywords: symdeb Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: r.sagitario gmx.de int fun() nogc { int x; auto foo() scope { int nested() { return x; } return nested(); } return foo(); } Variable 'x' is not visible in the debugger when stepping through 'foo' or 'nested'. Instead, only an opaque 'void* this' is shown. --
Oct 20 2018