2.10.2.2 Set a breakpoint

Perform this operation in the Editor panel/Disassemble panel in which the source text/disassembled text is displayed.

In the main area of the Editor panel or the event area of the Disassemble panel, click on the location where you want to set a breakpoint.

A breakpoint is set to the instruction at the start address corresponding to the clicked line.

When a breakpoint is set, the following event mark appears at the breakpoint location, and the source text line/disassembled text line is highlighted.

It is interpreted as if a break event (software or hardware break event) has been set at the target address, and it is managed in the Events panel (see "2.17 Event Management" for details).

Table 2.4

Event Marks of the Breakpoint

Event Type

Event Mark

Software Break

([E1] [E20] [EZ Emulator])

 

Hardware Break

 

Figure 2.107

Breakpoint Setting Example (Disassemble Panel)

Caution 1.

Since a breakpoint is set as a break event and managed as an event, restrictions apply to the number of breakpoints that can be set. Also see "2.17.1 Changing states of setting (Enabled/Disabled)" for details on breakpoint settings, including the allowable number of valid events.

Caution 2.

Breakpoints cannot be set to lines with no address indication.

Caution 3.

[E1] [E20] [EZ Emulator]
Software breakpoints replace the instructions at the corresponding addresses. They cannot be specified in the area other than the internal ROM area and internal RAM area.

Remark 1.

Event marks differ depending on the event state (see "2.17.1 Changing states of setting (Enabled/Disabled)").
When an event is set at a point for which another event is already set, the event mark ( ) is displayed to indicate that more than one event is set at the point.

Remark 2.

[Simulator]
Only hardware breakpoints can be set.

Remark 3.

[E1] [E20] [EZ Emulator]
Hardware/software breakpoints can be set regardless of the specification made in "2.10.2.1 Set the type of breakpoints/break timing to use [E1] [E20] [EZ Emulator]" by the operation described below.

Type

Operation1

Operation2

Hardware breakpoint

[Ctrl] + mouse click

Select [Break Settings] >> [Set Hardware Break] from the context menu.

Software breakpoint

[Shift] + mouse click

Select [Break Settings] >> [Set Software Break] from the context menu.

Caution

Operation 1 is enabled only in the Disassemble panel.