Class: LLDB::ExpressionOptions
- Inherits:
-
Object
- Object
- LLDB::ExpressionOptions
- Includes:
- NativeLifecycle
- Defined in:
- lib/lldb/expression_options.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #fetch_dynamic_value ⇒ Object
- #fetch_dynamic_value=(value) ⇒ Object
- #ignore_breakpoints=(value) ⇒ Object
- #ignore_breakpoints? ⇒ Boolean
-
#initialize(context: nil) ⇒ ExpressionOptions
constructor
A new instance of ExpressionOptions.
- #stop_others=(value) ⇒ Object
- #stop_others? ⇒ Boolean
- #suppress_persistent_result=(value) ⇒ Object
- #suppress_persistent_result? ⇒ Boolean
- #timeout ⇒ Object
- #timeout=(value) ⇒ Object
- #to_ptr ⇒ Object
- #try_all_threads=(value) ⇒ Object
- #try_all_threads? ⇒ Boolean
- #unwind_on_error=(value) ⇒ Object
- #unwind_on_error? ⇒ Boolean
- #valid? ⇒ Boolean
Methods included from NativeLifecycle
#close, #closed?, #context, #context!, #ensure_open!, #initialize_native_object
Constructor Details
#initialize(context: nil) ⇒ ExpressionOptions
Returns a new instance of ExpressionOptions.
17 18 19 20 21 22 23 24 25 |
# File 'lib/lldb/expression_options.rb', line 17 def initialize(context: nil) ptr = FFIBindings. initialize_native_object( ptr, release: ->(released) { FFIBindings.(released) }, context: context ) @language = nil end |
Instance Attribute Details
#language ⇒ Object
99 100 101 |
# File 'lib/lldb/expression_options.rb', line 99 def language @language end |
Instance Method Details
#fetch_dynamic_value ⇒ Object
66 67 68 |
# File 'lib/lldb/expression_options.rb', line 66 def fetch_dynamic_value FFIBindings.(@ptr) end |
#fetch_dynamic_value=(value) ⇒ Object
72 73 74 |
# File 'lib/lldb/expression_options.rb', line 72 def fetch_dynamic_value=(value) FFIBindings.(@ptr, value) end |
#ignore_breakpoints=(value) ⇒ Object
61 62 63 |
# File 'lib/lldb/expression_options.rb', line 61 def ignore_breakpoints=(value) FFIBindings.(@ptr, value ? 1 : 0) end |
#ignore_breakpoints? ⇒ Boolean
55 56 57 |
# File 'lib/lldb/expression_options.rb', line 55 def ignore_breakpoints? FFIBindings.(@ptr) != 0 end |
#stop_others=(value) ⇒ Object
94 95 96 |
# File 'lib/lldb/expression_options.rb', line 94 def stop_others=(value) FFIBindings.(@ptr, value ? 1 : 0) end |
#stop_others? ⇒ Boolean
88 89 90 |
# File 'lib/lldb/expression_options.rb', line 88 def stop_others? FFIBindings.(@ptr) != 0 end |
#suppress_persistent_result=(value) ⇒ Object
115 116 117 |
# File 'lib/lldb/expression_options.rb', line 115 def suppress_persistent_result=(value) FFIBindings.(@ptr, value ? 1 : 0) end |
#suppress_persistent_result? ⇒ Boolean
109 110 111 |
# File 'lib/lldb/expression_options.rb', line 109 def suppress_persistent_result? FFIBindings.(@ptr) != 0 end |
#timeout ⇒ Object
33 34 35 |
# File 'lib/lldb/expression_options.rb', line 33 def timeout FFIBindings.(@ptr) end |
#timeout=(value) ⇒ Object
39 40 41 |
# File 'lib/lldb/expression_options.rb', line 39 def timeout=(value) FFIBindings.(@ptr, value) end |
#to_ptr ⇒ Object
120 121 122 |
# File 'lib/lldb/expression_options.rb', line 120 def to_ptr @ptr end |
#try_all_threads=(value) ⇒ Object
83 84 85 |
# File 'lib/lldb/expression_options.rb', line 83 def try_all_threads=(value) FFIBindings.(@ptr, value ? 1 : 0) end |
#try_all_threads? ⇒ Boolean
77 78 79 |
# File 'lib/lldb/expression_options.rb', line 77 def try_all_threads? FFIBindings.(@ptr) != 0 end |
#unwind_on_error=(value) ⇒ Object
50 51 52 |
# File 'lib/lldb/expression_options.rb', line 50 def unwind_on_error=(value) FFIBindings.(@ptr, value ? 1 : 0) end |
#unwind_on_error? ⇒ Boolean
44 45 46 |
# File 'lib/lldb/expression_options.rb', line 44 def unwind_on_error? FFIBindings.(@ptr) != 0 end |
#valid? ⇒ Boolean
28 29 30 |
# File 'lib/lldb/expression_options.rb', line 28 def valid? !@ptr.null? end |