[Issue 19318] New: Variables captured from outer functions not visible in debugger
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 20 09:21:53 UTC 2018
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 at puremagic.com
Reporter: r.sagitario at 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.
--
More information about the Digitalmars-d-bugs
mailing list