Package lldb :: Class SBExpressionOptions |
[hide private]
[frames] | no frames]

# Class SBExpressionOptions

source code

A container for options to use when evaluating expressions.

Instance Methods | [hide private]
__setattr__(self, name, value) x.__setattr__('name', value) <==> x.name = value | source code
__getattr__(self, name) | source code
__repr__(self) repr(x) | source code
__init__(self, *args) __init__(lldb::SBExpressionOptions self) -> SBExpressionOptions __init__(lldb::SBExpressionOptions self, SBExpressionOptions rhs) -> SBExpressionOptions | source code
__swig_destroy__(...) delete_SBExpressionOptions(SBExpressionOptions self) |
__del__(self) | source code
GetCoerceResultToId(self) GetCoerceResultToId(SBExpressionOptions self) -> bool | source code
SetCoerceResultToId(self, coerce=True) SetCoerceResultToId(SBExpressionOptions self, bool coerce=True) SetCoerceResultToId(SBExpressionOptions self) | source code
GetUnwindOnError(self) GetUnwindOnError(SBExpressionOptions self) -> bool | source code
SetUnwindOnError(self, unwind=True) SetUnwindOnError(SBExpressionOptions self, bool unwind=True) SetUnwindOnError(SBExpressionOptions self) | source code
GetIgnoreBreakpoints(self) GetIgnoreBreakpoints(SBExpressionOptions self) -> bool | source code
SetIgnoreBreakpoints(self, ignore=True) SetIgnoreBreakpoints(SBExpressionOptions self, bool ignore=True) SetIgnoreBreakpoints(SBExpressionOptions self) | source code
GetFetchDynamicValue(self) GetFetchDynamicValue(SBExpressionOptions self) -> lldb::DynamicValueType | source code
SetFetchDynamicValue(self, *args) SetFetchDynamicValue(SBExpressionOptions self, lldb::DynamicValueType dynamic=eDynamicCanRunTarget) SetFetchDynamicValue(SBExpressionOptions self) | source code
GetTimeoutInMicroSeconds(self) GetTimeoutInMicroSeconds(SBExpressionOptions self) -> uint32_t | source code
SetTimeoutInMicroSeconds(self, timeout=0) SetTimeoutInMicroSeconds(SBExpressionOptions self, uint32_t timeout=0) SetTimeoutInMicroSeconds(SBExpressionOptions self) | source code
GetOneThreadTimeoutInMicroSeconds(self) GetOneThreadTimeoutInMicroSeconds(SBExpressionOptions self) -> uint32_t | source code
SetOneThreadTimeoutInMicroSeconds(self, timeout=0) SetOneThreadTimeoutInMicroSeconds(SBExpressionOptions self, uint32_t timeout=0) SetOneThreadTimeoutInMicroSeconds(SBExpressionOptions self) | source code
GetTryAllThreads(self) GetTryAllThreads(SBExpressionOptions self) -> bool | source code
SetTryAllThreads(self, run_others=True) SetTryAllThreads(SBExpressionOptions self, bool run_others=True) SetTryAllThreads(SBExpressionOptions self) | source code
GetStopOthers(self) GetStopOthers(SBExpressionOptions self) -> bool | source code
SetStopOthers(self, stop_others=True) SetStopOthers(SBExpressionOptions self, bool stop_others=True) SetStopOthers(SBExpressionOptions self) | source code
GetTrapExceptions(self) GetTrapExceptions(SBExpressionOptions self) -> bool | source code
SetTrapExceptions(self, trap_exceptions=True) SetTrapExceptions(SBExpressionOptions self, bool trap_exceptions=True) SetTrapExceptions(SBExpressionOptions self) | source code
SetLanguage(self, *args) SetLanguage(SBExpressionOptions self, lldb::LanguageType language) | source code
GetGenerateDebugInfo(self) GetGenerateDebugInfo(SBExpressionOptions self) -> bool | source code
SetGenerateDebugInfo(self, b=True) SetGenerateDebugInfo(SBExpressionOptions self, bool b=True) SetGenerateDebugInfo(SBExpressionOptions self) | source code
GetSuppressPersistentResult(self) GetSuppressPersistentResult(SBExpressionOptions self) -> bool | source code
SetSuppressPersistentResult(self, b=False) SetSuppressPersistentResult(SBExpressionOptions self, bool b=False) SetSuppressPersistentResult(SBExpressionOptions self) | source code
GetPrefix(self) GetPrefix(SBExpressionOptions self) -> str const * | source code
SetPrefix(self, *args) SetPrefix(SBExpressionOptions self, str const * prefix) | source code
SetAutoApplyFixIts(self, b=True) SetAutoApplyFixIts(SBExpressionOptions self, bool b=True) SetAutoApplyFixIts(SBExpressionOptions self) | source code
GetAutoApplyFixIts(self) GetAutoApplyFixIts(SBExpressionOptions self) -> bool | source code
GetTopLevel(self) GetTopLevel(SBExpressionOptions self) -> bool | source code
SetTopLevel(self, b=True) SetTopLevel(SBExpressionOptions self, bool b=True) SetTopLevel(SBExpressionOptions self) | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| __swig_setmethods__ = ``{``}``
| __swig_getmethods__ = ``{``}``

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __setattr__(self, name, value) | source code
x.__setattr__('name', value) <==> x.name = value Overrides: object.__setattr__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

### __init__(self, *args) (Constructor) | source code
__init__(lldb::SBExpressionOptions self) -> SBExpressionOptions __init__(lldb::SBExpressionOptions self, SBExpressionOptions rhs) -> SBExpressionOptions Overrides: object.__init__

### SetCoerceResultToId(self, coerce=True) | source code
SetCoerceResultToId(SBExpressionOptions self, bool coerce=True) SetCoerceResultToId(SBExpressionOptions self) Sets whether to coerce the expression result to ObjC id type after evaluation.

### SetUnwindOnError(self, unwind=True) | source code
SetUnwindOnError(SBExpressionOptions self, bool unwind=True) SetUnwindOnError(SBExpressionOptions self) Sets whether to unwind the expression stack on error.

### SetFetchDynamicValue(self, *args) | source code
SetFetchDynamicValue(SBExpressionOptions self, lldb::DynamicValueType dynamic=eDynamicCanRunTarget) SetFetchDynamicValue(SBExpressionOptions self) Sets whether to cast the expression result to its dynamic type.

### SetTimeoutInMicroSeconds(self, timeout=0) | source code
SetTimeoutInMicroSeconds(SBExpressionOptions self, uint32_t timeout=0) SetTimeoutInMicroSeconds(SBExpressionOptions self) Sets the timeout in microseconds to run the expression for. If try all threads is set to true and the expression doesn't complete within the specified timeout, all threads will be resumed for the same timeout to see if the expresson will finish.

### SetTryAllThreads(self, run_others=True) | source code
SetTryAllThreads(SBExpressionOptions self, bool run_others=True) SetTryAllThreads(SBExpressionOptions self) Sets whether to run all threads if the expression does not complete on one thread.

### SetLanguage(self, *args) | source code
SetLanguage(SBExpressionOptions self, lldb::LanguageType language) Sets the language that LLDB should assume the expression is written in

### SetGenerateDebugInfo(self, b=True) | source code
SetGenerateDebugInfo(SBExpressionOptions self, bool b=True) SetGenerateDebugInfo(SBExpressionOptions self) Sets whether to generate debug information for the expression and also controls if a SBModule is generated.

### SetSuppressPersistentResult(self, b=False) | source code
SetSuppressPersistentResult(SBExpressionOptions self, bool b=False) SetSuppressPersistentResult(SBExpressionOptions self) Sets whether to produce a persistent result that can be used in future expressions.

### GetPrefix(self) | source code
GetPrefix(SBExpressionOptions self) -> str const * Gets the prefix to use for this expression.

### SetPrefix(self, *args) | source code
SetPrefix(SBExpressionOptions self, str const * prefix) Sets the prefix to use for this expression. This prefix gets inserted after the 'target.expr-prefix' prefix contents, but before the wrapped expression function body.

### SetAutoApplyFixIts(self, b=True) | source code
SetAutoApplyFixIts(SBExpressionOptions self, bool b=True) SetAutoApplyFixIts(SBExpressionOptions self) Sets whether to auto-apply fix-it hints to the expression being evaluated.

### GetAutoApplyFixIts(self) | source code
GetAutoApplyFixIts(SBExpressionOptions self) -> bool Gets whether to auto-apply fix-it hints to an expression.