Epson S5U1C17001C Manual page 464

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

10 DEBUggEr
Source display conditions
Source line numbers and source codes can only be displayed when an elf object file containing debug
information for source display is loaded.
For C sources, only the sources in a file compiled after specifying C compiler option -gstabs are
displayed.
For assembly sources, only the sources in a file assembled after specifying assembler option --gstabs
are displayed.
If these items of information are not included or the corresponding source file cannot be found, the program
is forcibly displayed in assembler format.
Current PC (program counter) display
Once a program is executed, the current PC address line (i.e., next line to be executed) is highlighted in green
(default). The highlighting color can be changed in the [Source Preferences] dialog box that appears when
[Source...] is selected from the [Preferences] menu.
Breakpoint display
The bar "–" displayed at the beginning of a source line or address denotes that a PC breakpoint may be set
there. (In assembler display, breaks cannot be set at some addresses.)
The source lines or addresses marked with
The color of the mark represents the type or status of the breakpoint.
Red:
The breakpoint set here is a normal software PC breakpoint and enabled.
n
Orange: The breakpoint set here is a temporary software PC breakpoint (cleared upon a program break) and
n
enabled.
Blue:
The breakpoint set here is a hardware PC breakpoint and enabled.
n
n Black:
The breakpoint set here is a PC breakpoint and currently disabled.
The color of mark
n
changed in the [Source Preferences] dialog box that appears when [Source...] is selected from the [Preferences]
menu.
Symbol value display
When the mouse pointer is positioned over a symbol name (also possible in a comment, etc., when the symbol
name constitutes a word), the value of that symbol is displayed.
However, symbol values are displayed for only symbols belonging to the current stack frame (function), and
not for those in other functions.
This function can be disabled in the [Source Preferences] dialog box that appears when [Source...] is selected
from the [Preferences] menu.
runtime program display
While the program is being executed, the contents displayed in the window are not updated. Instead, the source
file or program display positions are updated so that the line at the current PC address is displayed in the
window after a break. At the same time, the current PC address and its source line number are displayed in the
text box provided to the right of the toolbar buttons.
Note: If the asm statement contains a pseudo-command as shown below, a mixed display may not
execute properly.
asm(".global label");
asm("label:");
10-14
instead of the bar "–" indicate that PC breakpoints are set there.
n
indicating that the PC breakpoint is enabled (by default, red, orange, or blue) can be
When the mouse pointer is placed over a variable name,
the value of that variable is displayed.
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
S5U1C17001C ManUal

Advertisement

Table of Contents
loading

Table of Contents