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.
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.
To execute the until command:
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.
10-48
Continuing.
• Click the [Continue] button.
[Continue] button
* You cannot specify the number of times that a break should be
disabled.
• 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.
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
S5U1C17001C ManUal
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?
Questions and answers