Debugging Collectors

In the Debugging Collector window, the left column on the debugger displays the commands for the current script state. The highlighted command is being executed.

The right column on the debugger displays the script's variables and their current value. The variable list will expand as all the script's variables are used. The variables are color coded to show new variables in blue, changed variables in red, and variables whose value has not changed since the last "Step" as black.

image\ebx_1220368160.gif

The Events tab will display the events generated using this Collector and the Upload/Download tab will allow you to upload/download another Collector Script file to make modifications.

The debugger has the following four controls:

image\ebx_416898833.gif

Run

Run the script until the next breakpoint is encountered.

image\ebx_1547790049.gif

Step Into

Step one instruction at a time.

image\ebx_-171566790.gif

Pause

Pause the running script.

image\ebx_885106086.gif

Stop

Stop the script.

NOTE: The Command list and the Variable list will not be displayed in the debugger when the Script is "Running". To see the Command list and the Variable list, the debugger must be "Stepping", "Paused" or "Stopped".

You can view events as well as upload and download the collector's script from the Events tab and Upload/Download tab.

NOTE: Multiple Sentinel Control Center users may connect to the same debugging session. And for this reason, a Collector will remain in "Debug" mode until one of the users specifically presses the debugger's "Stop" button.

To debug a Collector:

  1. In the main ESM display, locate the Collector that to run Debugging.

  2. Right-click on the Collector and select Debug.

  3. In the Debug Collector window, select a variable from the list of variables in the right pane, click Run Debug image\ebx_416898833.gif button.

  4. After debugging all the variables, close the Debug window.

  5. Start the Collector to generate the Events.