Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
mrdoanvu
Contributor II
Contributor II

why some variables contain values even just step in the first line of code in debugging mode?

I duplicated the Session Monitor app to study and found that

+ variable ScriptErrorDetails is not defined any sections but used to get the errors. This variable is in the reserved variables list but not found on the document site at https://help.qlik.com/en-US/sense/May2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/...

+ variable LastSuccessfulReloadStartTime as well as some other variables, contains value even i just step in the first line of code (the first section, Initialize ) in debugging mode. Even I open the app without data. So where were the variables initialized?

Besides that, in the variable pane, is there any way to search for a given variable or just sort the Variable column? it is quite frustrated to look for a variable to see its value when debugging.

Thank you

 

Labels (1)
1 Reply
Or
MVP
MVP

You can do this using API: https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/Wor...

 

See also: https://community.qlik.com/t5/App-Development/How-To-Easily-Extract-Qlik-Sense-Application-Variables...

As far as I know there's no way to do this from within the app itself, though if anyone knows of a method to do that hopefully they'll chime in.