clear

The clear command clears the breakpoint at a specified line or function.

Syntax

clear [ location ]
where location is:
{ [module.]function
| [module:]line
}
  1. module is the name of a source file, without extension.
  2. function is a function name.
  3. line is a source code line.

Usage

With the clear command, you can delete breakpoints wherever they are in your program.

Use the clear command with no arguments to delete any breakpoints at the next instruction to be executed in the selected stack frame.

Use the delete command to delete individual breakpoints by specifying their breakpoint numbers.

Example

(fgldb) clear mymodule:5 
Deleted breakpoint 2
(fgldb)