Module: LLDB::StopReason

Defined in:
lib/lldb/types.rb

Constant Summary collapse

INVALID =

: Integer

0
NONE =

: Integer

1
TRACE =

: Integer

2
BREAKPOINT =

: Integer

3
WATCHPOINT =

: Integer

4
SIGNAL =

: Integer

5
EXCEPTION =

: Integer

6
EXEC =

: Integer

7
PLAN_COMPLETE =

: Integer

8
THREAD_EXITING =

: Integer

9
INSTRUMENTATION =

: Integer

10
PROCESSOR_TRACE =

: Integer

11
FORK =

: Integer

12
VFORK =

: Integer

13
VFORK_DONE =

: Integer

14
NAMES =

: Hash[Integer, String]

{ # : Hash[Integer, String]
  INVALID => 'invalid',
  NONE => 'none',
  TRACE => 'trace',
  BREAKPOINT => 'breakpoint',
  WATCHPOINT => 'watchpoint',
  SIGNAL => 'signal',
  EXCEPTION => 'exception',
  EXEC => 'exec',
  PLAN_COMPLETE => 'plan complete',
  THREAD_EXITING => 'thread exiting',
  INSTRUMENTATION => 'instrumentation',
  PROCESSOR_TRACE => 'processor trace',
  FORK => 'fork',
  VFORK => 'vfork',
  VFORK_DONE => 'vfork done'
}.freeze

Class Method Summary collapse

Class Method Details

.name(reason) ⇒ Object

RBS:

  • reason: Integer

  • return: String



94
95
96
# File 'lib/lldb/types.rb', line 94

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