Thread

Thread

Class representing a thread.

Constructor

new Thread(id, optionsopt)

Source:

Create a thread 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 thread.

options object <optional>

The options object.

Properties
Name Type Attributes Description
status string <optional>

The thread status (e.g. stopped).

group ThreadGroup <optional>

The thread group.

frame Frame <optional>

The frame where thread is currently on.

Members

id :number

Source:

The internal GDB ID of a thread.

Type:
  • number

(nullable) status :string

Source:

The thread status (e.g. stopped).

Type:
  • string

(nullable) group :ThreadGroup

Source:

The thread group.

Type:

(nullable) frame :Frame

Source:

The frame where thread is currently on.

Type: