Running to a Location

In general not all processes of a parallel program reach a certain breakpoint. When parallel program stops every process belong either to red or to green cursor (see Cursors overview). You canít manipulate processes belonging to red cursors. You canít command them Go or Go to cursor. But you can manipulate processes belonging to green or amber cursors. You can split a green cursor into several new ones and some of the new cursors make amber. The commands Go and Go to cursor can be applied either to green cursors only or to both green and amber cursors.

To run until a breakpoint is reached

  1. Set a breakpoint.

  2. On the Debug menu, click Start Debug.

  3. From the Debug menu select Go and then either Green or All Ė when you start debugging the result of the two commands is the same because all processes belong to one green cursor corresponding to the first expression of the main function.

To run to the cursor (while the debugger is not running)

  1. In a source file, move the insertion point to the location where you want the debugger to break.

  2. On the Debug menu, click Start Debug.

  3. From the Debug menu select Go To Cursor and then either Green or All.

To run to the cursor (while the debugger is running but halted)

  1. In a source file, move the insertion point to the location where you want the debugger to break.

  2. Split green cursors and recolor some of the new cursors if necessary.

  3. From the Debug menu select Go To Cursor, and then select either Green if you want only processes belonging to green cursors to run to the specified location or All if you want the processes belonging to both green and amber cursors to run to the specified location.

See also:

Cursors overview

Managing breakpoints

Go command

Go to cursor command