Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
andrew001
Contributor III
Contributor III

Test functions

Hi

what is it the best practice to test the various function into the script ?

Is there a kind of 'immediate window' or something similar if I want to see how a funcrtion works ?

thanks

3 Replies
swuehl
MVP
MVP

What is a 'immediate window'?

I would start with using the debug dialog (open it from the script editor) and step through the script code.

Add more variables or TRACE statements to query and display debug information from tables / system.

andrew001
Contributor III
Contributor III
Author

'Immediate window' is a reminiscence of the VBA, it's a window where I can digit a variable or a function and I can see  immediately the result.

Well, I knew the debug dialog, I didn't know the TRACE statement: I'll try it

thanks

swuehl
MVP
MVP

IMO, the debug dialog is very limited compared to other IDEs.

Unfortunately, there wasn't much change in the last few major QV versions considering debugging.

I agree, it would really benefit from some neat data inspector feature, allowing to see table structure and content while running.