21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

79.4 Macro Debugger<br />

The Macro Debug page of the Edit Module dialog<br />

Before you can use the macro debugger , you must install the Microsoft Script Debugger.<br />

By pressing the Debug button in the Edit Module dialog you will enter macro debug mode. In this mode<br />

you may step through the macro and inspect variable contents as you go along.<br />

Before debug mode is entered you must select a macro (subroutines without parameters only) from the list<br />

and set one or more breakpoints in the code. Breakpoints can be toggled at any time by clicking on a line<br />

number next to a position in the code or by positioning the cursor in the line and pressing F9. Pressing<br />

CTRL+SHIFT+F9 will clear all breakpoints.<br />

When entering debug mode two new panes appear in the dialog window. In the lower left you will find a<br />

pane indicating the current call stack. By double-clicking in the list the editor window will be scrolled to<br />

the position of the call clicked upon. The execution pointer will not be moved however.<br />

In the lower right you will find a pane with current variables. By double-clicking one of the variables you<br />

will open the Variables dialog where the properties of the variable can be further examined and its value<br />

changed interactively.<br />

In debug mode a separate menu becomes available. Many of the items on this menu have a keyboard shortcut<br />

counterpart. The keyboard shortcuts can be individually customized in the Editor page of User Preferences.<br />

The shortcuts mentioned below are the installation defaults.<br />

Continue Continues execution of the macro to the next breakpoint or the end of the<br />

macro. Equivalent to pressing f5.<br />

Step Into Steps execution one line. If the next line is a call to a subroutine execution<br />

will be stepped to the first line of the subroutine. Equivalent to pressing f8.<br />

877

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!