Module: LLDB::State

Defined in:
lib/lldb/types.rb

Constant Summary collapse

INVALID =

: Integer

0
UNLOADED =

: Integer

1
CONNECTED =

: Integer

2
ATTACHING =

: Integer

3
LAUNCHING =

: Integer

4
STOPPED =

: Integer

5
RUNNING =

: Integer

6
STEPPING =

: Integer

7
CRASHED =

: Integer

8
DETACHED =

: Integer

9
EXITED =

: Integer

10
SUSPENDED =

: Integer

11
NAMES =

: Hash[Integer, String]

{ # : Hash[Integer, String]
  INVALID => 'invalid',
  UNLOADED => 'unloaded',
  CONNECTED => 'connected',
  ATTACHING => 'attaching',
  LAUNCHING => 'launching',
  STOPPED => 'stopped',
  RUNNING => 'running',
  STEPPING => 'stepping',
  CRASHED => 'crashed',
  DETACHED => 'detached',
  EXITED => 'exited',
  SUSPENDED => 'suspended'
}.freeze

Class Method Summary collapse

Class Method Details

.name(state) ⇒ Object

RBS:

  • state: Integer

  • return: String



52
53
54
# File 'lib/lldb/types.rb', line 52

def self.name(state)
  NAMES[state] || 'unknown'
end