$ESTACK does not contain method/routine executed as "If Method..." or "set var = Method..."
Only method/routine executed as "do Method..." is included into $ESTACK.
How can I modify a method or routine that returns a value so it can be included in $ESTACK?
Example upon executing via Studio Debug ($ESTACK is converted to string with ">" delimiter):
Expected: stackstr = %Debugger.System.DebugStub > LogGenerate > Entry > DirChain > Attributes > LogNew > LogSize > LogFormat > LogWrite
Processes DirChain, LogNew, LogSize, LogFormat are executed as "If Method..."
Process Attributes is executed as "set a = Attributes..."
Current: stackstr = %Debugger.System.DebugStub > LogGenerate > Entry > LogWrite
While process LogWrite is executed as "If LogWrite..." it is the last process in which I obtain $ESTACK
Thank you