clear

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

Syntax

clear [ { function | [ module: ] line } ]
  1. function is a function name.
  2. module is a specific source file.
  3. line is a source code line.

Usage

With the clear command, you can delete breakpoints according to where 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)