10-48
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
10.6.5 Executing the Program
The debugger can execute the target program continuously or one step at a time (single-stepping).
Continuous execution
Continuous execution commands (
continue
,
until
commands)
The continuous execution commands execute the loaded program continuously from the current PC address.
continue
command: When executing the program continuously, you can disable the current breakpoint a
specified number of times.
Example 1: Executing the program continuously from current PC
(gdb)
cont
Continuing.
Example 2: Executing the program continuously from current PC after specifying that current breakpoint be
skipped 4 times
(gdb)
continue
5
Will ignore next 4 crossings of breakpoint 1. Continuing.
until
command: You can specify a temporary PC breakpoint that is effective for only one break and cause the
program to stop running at that position.
Example: Executing the program continuously from current PC to 10th line in
main.c
and causing the
program to break immediately before executing 10th line in
main.c
(gdb)
until
main.c:10
main () at main.c:10
The commands above can also be executed in the [Source] window.
To execute the
continue
command:
•
Choose [Continue] from the [Control] menu.
•
Click the [Continue] button.
[Continue] button
*
You cannot specify the number of times that a break should be
disabled.
To execute the
until
command:
•
Choose [Jump to Here] from a popup menu.
*
To display a popup menu, right-click at the beginning of the source
line where you wish to set a temporary PC breakpoint.
For details on how to operate in the [Source] window, see Section 10.4.2, "[Source] Window."
Stopping continuous execution
The program being executed does not stop until made to break by one of the following causes:
•
Break conditions set by a break setup command are met (including a temporary break specified by the
un-
til
command).
•
Forcible break (generated by clicking the [Stop] button)
•
Other causes of break generated
[Stop] button
*
If the program does not stop, it can be forcibly made to break by using this button.
When the program stops, the cause of break and halted position are displayed in the [Console] window.
Moreover, the contents displayed in the [Source] and [Registers] windows are updated.
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...