English
Language : 

RH850F1L Datasheet, PDF (9/16 Pages) Renesas Technology Corp – Emulator
RH850/F1L Series E1/E20 Emulator Release Note(Restrictions when using CubeSuite+)
No. 22 Regarding debug information relation(source level stepping)
[Description]
During source-level stepping, the debugger may appear to be executing instructions that are not supposed to be
executed.
[Example 1-1]
In the example below, execution stops at the position of (*2) after completing the for loop (*1) and branches
to the next line depending on the value of "i".
Under some conditions, however, the PC (indicated by an arrow) appears to have moved to the position of
(*3) regardless of the value of "i" at (*2).
void main()
{
int i = 0;
int j = 0;
for (j = 0; j < 10; j++) { <-(*1)
i = atoi("100");
}
if (i != 100) {
<-(*2)
i = atoi("100");
<-(*3)
}
return;
}
Conditions:
(a) There is a directive (e.g. if, for, switch) at the position of (*2).
(b) The code prior to (*2) is one of the following.
- Directive
- Label, goto, or return statement
- Ternary, logical, or NOT operation
[Resolution]
None
R20UT2743EJ0200 Rev.2.00
Mar 20, 2014
Page 9 of 13