www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - Visual D not showing variables

reply Brett <Brett gmail.com> writes:
I have quite a few variables and some are not showing up in the 
locals. If I "alias" them they show up. Also alias do not show 
up. The variables I'm using that do not show up are seem outer 
variables. I had to create a function to do some multiple 
processing and some variables became outer and now I do not see 
them in local. I thought this was fixed?
Sep 30 2019
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 30/09/2019 22:09, Brett wrote:
 I have quite a few variables and some are not showing up in the locals.
 If I "alias" them they show up. Also alias do not show up. The variables
 I'm using that do not show up are seem outer variables. I had to create
 a function to do some multiple processing and some variables became
 outer and now I do not see them in local. I thought this was fixed?
 
Only variables actually used in a nested function are captured and can be displayed as part of the locals. You can see the captures by unchecking "hide compiler generated symbols" on the mago options page.
Sep 30 2019