Sun Studio 12 Update 1: Debugging a Program With dbx

clear Command

The clear command clears breakpoints. It is valid only in native mode.

Event handlers created using the stop command, trace command, or when command with the inclass argument, inmethod argument, infile argument, or infunction argument create sets of breakpoints. If the line you specify in theclear command matches one of these breakpoints, only that breakpoint is cleared. Once cleared in this manner an individual breakpoint belonging to a set cannot be enabled again. However, disabling and then enabling the relevant event handler reestablishes all the breakpoints.

Syntax

clear

Clear all breakpoints at the current stopping point.

clear line

Clear all breakpoints at line.

clear filename:line

Clear all breakpoints at line in filename.

where:

line is the number of a source code line.

filename is the name of a source code file.