Viewing and navigating Stream graphs

 

When a StreamIt program is launched in debug mode, the associated Stream graphs can be examined and explored when the program is suspended at a breakpoint or watchpoint.

 

Before viewing or navigating the Stream graph of a program, you should:

 

  1. Open the StreamIt file whose graph you want in the editor area.
  2. Add a breakpoint or watchpoint anywhere in the source code.
  3. Select Run > Debug As > StreamIt Application or Select Debug As > StreamIt Application in the drop-down menu on the Debug tool bar button.
  4. The program will run until the breakpoint is reached.

 

The Stream Graph view and Overview of Stream Graph view display the stream graph of the program at that point in the source code.  In both views, the currently executing stream element (e.g. filter, pipeline, splitjoin, or feedbackloop) is highlighted in blue.  If the stream element to be highlighted is not visible before the highlighting occurred, the graph would be expanded to show the stream element and the views scrolled to make the element visible.

 

In response to selections in the Debug and Variable views, the corresponding stream element in the Stream graph will be highlighted, and vice versa.  This is just one way in which a Stream graph can be navigated.

 

Related concepts

General debugging support and Eclipse integration

Stream graph display and navigation

 

Related tasks

Identifying stream elements and channels

Expanding and collapsing stream elements

Viewing information within stream elements

Hiding the lines of stream elements

Navigating with the Overview of Stream Graph view