Debugging with Breakpoints and Watch Variables

ESP Studio allows you to control a running project by enabling tracing, pausing, resuming, and stepping of data flow through Event Stream Processor streams. You can also create breakpoints and watch variables on a running application.

Breakpoints are locations in stream or window input or outputs that stop the flow of data in the Event Stream Processor model. A watch variable inspects the data.

Studio Breakpoint Buttons
Button Function
Trace On Instructs Event Stream Processor to begin tracing (debugging). This parameter must be set to use the Event Stream Processor breakpoint APIs.
Trace Off Stops tracing (debugging).
Step Platform Steps the running Event Stream Processor.
Pause Platform Pauses the running Event Stream Processor.
Enable All Breakpoints Enables all breakpoints in the list.
Disable All Breakpoints Disables all breakpoints in the list.
Insert Breakpoint Inserts a breakpoint item into the watch table.
Insert Watch Inserts a watch item into the watch table.
Print Breakpoint Data to Console Prints the breakpoint and pause state data for the current Event Stream Processor to the console.

The following breakpoint commands initiate long-running operations. Each of these can be cancelled before completion by clicking Cancel Current Step.

Breakpoint Commands
Button Function
Step Quiesce from Base Automatically steps all the derived (non-base) streams until their input queues are empty.
Step Quiesce Automatically steps the stream and all its direct and indirect descendants until all of them are quiesced.
Step Transaction Automatically steps until the end of transaction.
Step Quiesce Downstream Steps the descendants of the stream but not the stream itself.
Note: Breakpoints and watch variables are persisted to the workspace.
Related concepts
Event Tracer View