The Immediate window tab

The Immediate window allows you to execute SXML Viper instructions while debugging your site.

You can execute any expression that does not need a rendering context anytime. Contextual vipers however can only be used in 'break' mode.

The TestSuite Debugger immediate window tab

Setup debugging

  1. Open the debugger window (CTRL-D)
  2. Open the SXML code item you wish to debug in an Editor tab.
  3. Add a debug.break() or debug.assert() vipers to your code.
  4. Render the page. If your debug statement is hit, the debugger window will be activated.
  5. Select the Url in the listview showing the current requests
  6. Activate the Immediate window tab
  7. Enter an expression to test.