Everything
2.9.3.1 Set a breakpoint

Breakpoints can be set via the Editor panel/Disassemble panel in which the source text/disassembly text is displayed.

Within the Main area (Editor panel) or Event area (Disassemble panel) in which a valid address is displayed, click on the location where you want to set a breakpoint. A breakpoint whose type is being selected in the [First using type of breakpoint] property 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 Break or Hardware Break) has been set at the target address, and it is managed in the Events panel (see "2.16 Manage Events" for details).

Table 2.4

Event Marks of Breakpoint

Type of Breakpoint

Event Type

Event Mark

Hardware breakpoint

Hardware Break eventNote

 

Software breakpoint

(except [Simulator])

Software Break eventNote

 

Note

In the [Name] area of the Events panel, "Break" is displayed as the event type name.

Figure 2.35

Breakpoint Setting Example (Disassemble Panel)

Figure 2.36

Example of Setting Breakpoint in Events Panel

Caution 1.

Since a breakpoint is set as a break event and managed as a event, restrictions apply to the number of breakpoints that can be simultaneously set. Also see "2.16.7 Notes for setting events" for details on breakpoints (e.g. limits on the number of enabled events).

Caution 2.

No software breakpoints can be set to the data flash memory area.

Caution 3.

Breakpoints can only be set at lines that have valid addresses.

Remark 1.

Event marks differ depending on the event state (see "2.16.1 Change the state of set events (valid/invalid)").
When an event is set at the point where other event is already set, the event mark ( ) is displayed meaning more than one event is set at the point.

Remark 2.

[Simulator]
The type of breakpoint that can be set is locked to hardware breakpoints.

Remark 3.

For other than [Simulator]
You can set hardware breakpoints/software breakpoints without depending on the specification of "2.9.1 Configure the break function" by following the step below.
Note, however, that "Operation 1" is only available in the Disassemble panel.

Type

Operation 1

Operation 2

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.