10 DEBUggEr
delete
(clear break by break number)
Operation
Deletes all breakpoints currently set or one or more breakpoints individually by specifying a break number.
Format
delete [ BreakNo ]
BreakNo:
Break number (decimal or hexadecimal)
When this entry is omitted, all breakpoints are deleted.
Usage example
(gdb) info breakpoints
Num Type
1
breakpoint
2
breakpoint
3
breakpoint
Let's assume that breakpoints have been set as shown above.
n Example 1
(gdb) delete 1 2
(gdb) info breakpoints
Num Type
3
breakpoint
When you specify a break number, only that break can be cleared. You can specify multiple break numbers at a
time.
n Example 2
(gdb) delete
(gdb) info breakpoints
No breakpoints or watchpoints.
When a break number is omitted, all breakpoints are cleared. To avoid inadvertent deletion, a dialog box is
displayed for your confirmation. When "Delete all breakpoints?" appears, respond by clicking the [Yes] or [No]
button. Choosing [Yes] clears all breaks; choosing [No] cancels deletion.
GUI
Normal software PC breakpoints, temporary software PC breakpoints, and hardware PC breakpoints can be
deleted using one of the methods below. Temporary hardware PC breakpoints cannot be deleted.
Deletion method 1
Display the source containing the set breakpoint you wish to delete in the [Source] window. The source lines
with set breakpoints are marked by
temporary software PC breakpoints, blue for hardware PC breakpoints, or black for disabled PC breakpoints).
Click on
to delete the breakpoint there. The mark at the beginning of that source line will change to "–".
n
Otherwise, you can right-click at the
to delete the breakpoint.
notes: • If you set a breakpoint by specifying an address, it is possible that multiple breakpoints
(multiple expanded mnemonics) have been set on one C source line. Even if you click on
at the beginning of the source line while the [Source] window is displayed in SOURCE mode,
the mark does not change to "–". To delete all breakpoints set on a given source line, you
must click as many times as the number of breakpoints there. At this time, the breakpoints are
deleted in order of ascending addresses. For display in ASSEMBLY or MIX mode, you can
confirm each breakpoint individually as you delete them.
• The color of mark
changed to any desired color in the [Source Preferences] dialog box that appears by choosing
[Source...] from the [Preferences] menu in the [Source] window.
10-100
(displays a breakpoint list.)
Disp Enb Address
keep y
0x00c00038 in sub at main.c:20
keep y
0x00c00030 in main at main.c:14
keep y
0x00c0003c in sub at main.c:22
Disp Enb Address
keep y
0x00c0003c in sub at main.c:22
at the beginning (red for normal software PC breakpoints, orange for
n
position and choose [Delete breakpoint] from the ensuing popup menu
n
representing a breakpoint (red, orange, or blue by default) can be
n
EPSOn
What
What
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
[ICD Mini / SIM]
n
S5U1C17001C ManUal
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?
Questions and answers