ZW in other stack frames
Hello,
is it possible to ZW variables in stack frames above the current one? I am calling a custom logging method, and would like to log variables from the point of call.
Thanks
Jiri
Discussion (2)2
Comments
Just for debugging, you can use this command
Do LOG^%ETN("some message")It will collect all variables, on every stack level. And you can find this logs in SMP by System > System Logs > View Application Error Log > Application Error Dates > Application Errors.
But be careful, this is only for debugging, because creating a log, may take a long time.
Another option is to use a classmethod %SYS.ProcessQuery::ExamStackByPid().