Running Parallel Programs

When you have completed building the current target, you can start the program from mpC Workshop. You can also run programs in the integrated debugger. To run a program your mpC Workshop client must be connected to the mpC server and one of VPMs must be selected.

To run a parallel program

To run a program in the integrated debugger

  1. On the Debug menu click Start Debug. After clicking Start Debug all the processes of the parallel program belong to one green cursor (see Cursors overview) corresponding to the first operator in the main function.

  2. On the Debug menu choose either All or Green from the Go list. As all the processes belong to one cursor the result is identical. If you have a source file open and it has the focus, choose either All or Green from the Go to Cursor list. Also you can click Step Into.

See also:

Debugging programs overview

Cursors overview

Selecting VPMs

Connecting to server