Using Breakpoints; Setting A Program Count (Pc) Breakpoint - Renesas CE2000-H8S Series User Manual

Compact emulator
Table of Contents

Advertisement

www.DataSheet4U.com
7.7

Using Breakpoints

The simplest debugging aid is the program breakpoint, it causes execution to stop when a particular
point in the program is reached. You can then examine the state of the MCU and memory at that point in
the program.

7.7.1 Setting a Program Count (PC) Breakpoint

The program window provides a very simple way of setting a program breakpoint. For example, set a
breakpoint at address H'80C as follows:
Right-click in the 2238.c file and select Toggle Breakpoint popup menu at the line containing address
H'80C.
The dot will be displayed there to indicate that a program breakpoint is set at that address.
Figure 7-8
resetprg.c file after RESET CPU
Figure 7-9
Setting a Breakpoint
54

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ce2000-h8s/2238

Table of Contents