Debugging the Sample Code
Debug the application as follows:
- From the Launch Configuration dropdown menu, select blinky Debug. From the Launch Mode dropdown menu, select Debug. Both are shown in the "Launching a Debug Session" figure).
- Press the Launch in Debug button (also shown in the "Launching a Debug Session" figure) to launch the debug session. J-Link downloads the blinky sample code to RSL15’s flash memory.
- The Debug perspective opens and the application runs up to the first breakpoint in main. Press F8 or click the Resume icon (
) to resume the execution of the application. In the RSL15 EVB, you can see that a green and a blue LED are both blinking, at different rates. When push-button SW1 is pressed, the blinking of these two LEDs is disabled or enabled.