[Issue 15631] gdb: Parent's scope not considered for symbol lookup

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 26 09:45:48 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=15631

--- Comment #10 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to hsteoh from comment #6)
> Ran into similar problem with delegates:
> 
> Apparently `__capture` must be entered explicitly in order to access
> closed-over variables.  It would be nice to have symbol lookup automatically
> look in __capture.

This used to work when the parameter was named 'this'.  However since the adhoc
rename, gdb needs to be taught where to look for the context pointer now.

--


More information about the Digitalmars-d-bugs mailing list