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

log statements

I'm looking for a way to help me debug... would like to write text that will post to my log file and/or in the debugger window, to help me narrow down exactly where the code is breaking.

in SAS this would be a "PUT" statement... i.e. %put "you are in the Load statement at line 41"

3 Replies
Miguel_Angel_Baeyens

Hello Stephanie,

I'm used to set a variable with some result I want to check in the debug/load process. Then I use TRACE function to see what that variable has stored. Syntax is always

TRACE $(vYourCheckVariable);
You can write a message instead a variable just to know you have reached certain part of script.

Hope that helps.

Not applicable
Author

got it, thanks a bunch!

Not applicable
Author

You have always the "msgbox" function, not so nice as the last replay but... you can use it.