Breakpoint

Breakpoint

Class representing a breakpoint.

Constructor

new Breakpoint(id, optionsopt)

Source:

Create a breakpoint object. Usually you don't need to create it yourself unless you're doing some low-level stuff.

Parameters:
Name Type Attributes Description
id number

The internal GDB ID of a breakpoint.

options object <optional>

The options object.

Properties
Name Type Attributes Description
file string <optional>

The full path to a file in which breakpoint appears.

line number <optional>

The line number at which the breakpoint appears.

func string | Array.<string> <optional>

The function in which the breakpoint appears or an array of functions (e.g. in case of templates).

thread Thread <optional>

The thread for thread-specific breakpoints.

Members

id :number

Source:

The internal GDB ID of a breakpoint.

Type:
  • number

(nullable) file :string

Source:

The full path to a file in which breakpoint appears.

Type:
  • string

(nullable) line :number

Source:

The line number at which the breakpoint appears.

Type:
  • number

func :string|Array.<string>

Source:

The function in which the breakpoint appears or an array of functions (e.g. in case of templates).

Type:
  • string | Array.<string>

(nullable) thread :Thread

Source:

The thread for thread-specific breakpoints.

Type: