2.9.1 Set a breakpoint to a function

Set a breakpoint at the start of the function on the Function List panel (the first executable line in the function).

To do this, select the row in which the target function is displayed (make sure that the current row mark ( ) appears to the left of the selected row), then from the context menu, select [Set Break to Function].

Caution

This operation is disabled while disconnecting from the debug tool.

 

A breakpoint set via this operation is managed in the Events panel as an event whose name is "Break at start of function".

Figure 2.16

Example of Setting Breakpoint in Events Panel

Remarks 1.

If there is already a breakpoint set at the corresponding location, the behavior is as follows:

-

If a breakpoint in a valid state is set: No effect

-

If a breakpoint in an invalid state is set: Sets the breakpoint to a valid state

Remarks 2.

[CC-RX]

If the target function is a template function and multiple addresses corresponding to its template function exist, then the breakpoints will be set to all the addresses.