Feedback

  • Contents
 

Monitor changes in the value of a variable in a debug handler

While in debug mode, you can watch for a change to the value of one or more variables. Interaction Designer checks for changed variables at each breakpoint, and will highlight any watched variables that have changed since the previous breakpoint in the Watch Variables window in the Debug Palette.

If you want the handler to pause when a watch variable changes, select the "Break on Change" box for that variable in the watch window. If the variable's value changes, the handler will pause execution at the next step. Note that because the variables don't change until a step exits, the step that execution pauses on is not the step that changed the variable. The variable was changed by the previous step.

Related Topics

Debug a handler

Debugging

Setting a breakpoint

Stop the debugger

View the value of a variable in a debug handler