Event Rules Window

Each Event Rules window displays the ER for one event. The event name and path, along with an abbreviated description, appear in the title bar for each Event Rules window. The Event Rules window shows the line in the ER that is currently being executed when the runtime engine is stopped on a line break.

The left side of an Event Rule window displays icons that describe the state of a line in the ER. States include breakpoint, disabled, or current line of execution.

You can use the Event Rules window to set and remove breakpoints. You can use any of these methods:

  • Double-click the line in ER.

  • Right-click a line and select Insert Breakpoint or New Breakpoint from the pop-up menu.

  • Select a line and press F9.

  • Single click in the margin to the left of the ER text.

You cannot set a breakpoint on a comment line. The breakpoint automatically goes to the first code line after the comment. You cannot set a breakpoint on a data structure member displayed in the ER listing. The breakpoint will automatically go to the function call above it that "owns" the data structure.

The ER window is also useful to show the values of ER variables during a debugging session. The value of a variable in the ER listing can be instantly displayed by moving the mouse cursor over the variable. Its value will appear in a Tool Tip window when the ER Engine is paused (when stopped on a breakpoint or when stepping through code in the debugger).

Variables spelled differently in the ER listing and the variable list will not display.