IBM InfoSphere Streams Version 4.1.1

Compiling a distributed application for debugging

In this environment, the application is instrumented for sdb using the sc compiler's -g option.

This method enables debugging of all operators.

Alternatively, operators to be debugged can be identified by adding a config clause as follows: config wrapper:   sdb;. The config clause ensures that the containing PE is started in an xterm window. For example:

stream<LineStat> CountAllLines = Custom(CountOneLine)
{
  logic
    state :
    // ... skipped for brevity
  config
    wrapper : sdb;
}

Any operators not specifying the sdb wrapper is not debugged in an xterm window unless that operator is fused with another operator that has the console wrapper specified.