Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Not applicable

Macro Debugging

I have a macro firing and want to write out some debugging or logging when it runs.  Does anyone know if there is a command that will write a line to the qv log files?  Or what would you suggest?  This job runs while I am not watching and I need too write some things out to see why its not completing. 

2 Replies
Not applicable

Macro Debugging

I use this to write to the windows application event log

Sub WriteToLog(strText)

          set objShell = createobject("WScript.Shell")

          objShell.LogEvent 4, strText

End Sub

Not applicable

Macro Debugging

Cool.  Do you know if I can catch any error then write it out to the log with the above.  I think that would help me out a lot at this point.