Setting a Break Point

Setting a software break

If you want to stop the program at a specific position intentionally, you can break the program before the system executes it by setting a software break.

Let's see how the variable you registered to the watch window changes by setting a software break and running the program.

Click the empty column to the left of the desired line as shown below. A software break is set and the line is highlighted in red.

Click the [Restart] button in the menu.

The program breaks at the line where the break has been set and the break point line is highlighted in yellow.

See the Watch panel and confirm that the value of [g_count] is counted up to 1.

Status bar shows [BREAK] and the PC value at the break point.