| |||
| Home > DS-5 Debugger Commands > DS-5 Debugger commands listed in alphabetical order > clear | |||
This command deletes a breakpoint at a specific location.
clear [ [filename:]location | *address]
Where:
filenameSpecifies the file.
locationSpecifies the location:
line_numis a line number.
functionis a function name.
labelis a label name.
+offset | -offsetSpecifies the line offset from the current location.
addressSpecifies the address. This can be either an address or an expression that evaluates to an address.
If no arguments are specified then the breakpoint at the current PC is deleted.
Example 13. clear
clear *0x8000 # Clear breakpoint at address 0x8000 clear main # Clear breakpoint at address of main() clear SVC_Handler # Clear breakpoint at address of label SVC_Handler clear +1 # Clear breakpoint at address of next source line clear my_File.c:main # Clear breakpoint at address of main() in my_File.c clear my_File.c:10 # Clear breakpoint at address of line 10 in my_File.c