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]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(lldb::SBExpressionOptions self) -> SBExpressionOptions __init__(lldb::SBExpressionOptions self, SBExpressionOptions rhs) -> SBExpressionOptions
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) -> char const *
source code
 
SetPrefix(self, *args)
SetPrefix(SBExpressionOptions self, char 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
 
GetAllowJIT(self)
GetAllowJIT(SBExpressionOptions self) -> bool
source code
 
SetAllowJIT(self, *args)
SetAllowJIT(SBExpressionOptions self, bool allow)
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _lldb.delete_SBExpressionOptions
  __del__ = lambda self:
Method Details [hide private]

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) -> char const *

Gets the prefix to use for this expression.

SetPrefix(self, *args)

source code 

SetPrefix(SBExpressionOptions self, char 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.

GetAllowJIT(self)

source code 

GetAllowJIT(SBExpressionOptions self) -> bool

Gets whether to JIT an expression if it cannot be interpreted.

SetAllowJIT(self, *args)

source code 

SetAllowJIT(SBExpressionOptions self, bool allow)

Sets whether to JIT an expression if it cannot be interpreted.