Skip to main content Skip to complementary content

Debugger

Running the script in the debugger can make it a lot easier to identify script errors. The debugger makes it possible to monitor every script statement and examine the variable values while the script is executed.

You launch the debugger by clicking the Debug button in the top menu of the Edit Script window.

The script is displayed in the window in the upper half of the debugger. The progress of the script execution is marked with a yellow bar. Break points can be inserted by clicking on the row numbers and removed by clicking a second time. Remove all breakpoints by clicking the Clear button. When a breakpoint is encountered, script execution is halted until instructed to proceed.

The statement being currently executed is displayed in the window in the middle.

Status codes and any script errors are displayed in the window to the bottom, left. This is essentially the same information that is displayed in the Script Execution Progress window when the script is run outside the debugger.

The right bottom window displays all script variables and their respective values. Variables that have changed are colored red.

Debugger options
Option Description
Breakpoints

Breakpoints that have been set in the script window to the right can be cleared. A breakpoint is shown as a red circle.

  • Clear: Clears all the breakpoints.
Debug

This group contains settings that determine how the script is run in the Debugger.

  • Run: This is the normal script execution. The script will progress to the end or until a breakpoint is encountered.
  • Animate: The script runs as above, but with a short pause after each statement. This way it is possible to monitor the script execution more closely.
  • Step: This executes one script statement at a time.
Limited Load Enter a number in the spinner box below. The number entered is the maximum number of accepted records at each load and select statement. This is a very useful way to limit the execution time when the script is tested with live data.
Help Opens the QlikView help.
End Here Closes the Debugger, but keeps the data loaded so far.
Cancel Aborts the script execution and discards all data loaded.
Buffers

Opens tabs displaying external script files referenced via $(include).

  • Open: Displays a dialog from which a script file can be opened. The contents of the file will be displayed under a separate tab and can be used for debugging.
  • Close: Closes the current debugger script tab. The main tab cannot be closed.

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com