October 20, 2018 [Issue 19318] New: Variables captured from outer functions not visible in debugger | ||||
|---|---|---|---|---|
| ||||
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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply