10 #ifndef LLDB_SBExpressionOptions_h_
11 #define LLDB_SBExpressionOptions_h_
29 bool GetCoerceResultToId()
const;
31 void SetCoerceResultToId(
bool coerce =
true);
33 bool GetUnwindOnError()
const;
35 void SetUnwindOnError(
bool unwind =
true);
37 bool GetIgnoreBreakpoints()
const;
39 void SetIgnoreBreakpoints(
bool ignore =
true);
41 lldb::DynamicValueType GetFetchDynamicValue()
const;
43 void SetFetchDynamicValue(
44 lldb::DynamicValueType dynamic = lldb::eDynamicCanRunTarget);
46 uint32_t GetTimeoutInMicroSeconds()
const;
49 void SetTimeoutInMicroSeconds(uint32_t timeout = 0);
51 uint32_t GetOneThreadTimeoutInMicroSeconds()
const;
58 void SetOneThreadTimeoutInMicroSeconds(uint32_t timeout = 0);
60 bool GetTryAllThreads()
const;
62 void SetTryAllThreads(
bool run_others =
true);
64 bool GetStopOthers()
const;
66 void SetStopOthers(
bool stop_others =
true);
68 bool GetTrapExceptions()
const;
70 void SetTrapExceptions(
bool trap_exceptions =
true);
72 void SetLanguage(lldb::LanguageType language);
74 void SetCancelCallback(lldb::ExpressionCancelCallback callback,
void *baton);
76 bool GetGenerateDebugInfo();
78 void SetGenerateDebugInfo(
bool b =
true);
80 bool GetSuppressPersistentResult();
82 void SetSuppressPersistentResult(
bool b =
false);
84 const char *GetPrefix()
const;
86 void SetPrefix(
const char *prefix);
88 void SetAutoApplyFixIts(
bool b =
true);
90 bool GetAutoApplyFixIts();
94 void SetTopLevel(
bool b =
true);
98 lldb_private::EvaluateExpressionOptions &expression_options);
100 lldb_private::EvaluateExpressionOptions *
get()
const;
102 lldb_private::EvaluateExpressionOptions &ref()
const;
110 mutable std::unique_ptr<lldb_private::EvaluateExpressionOptions> m_opaque_ap;
115 #endif // LLDB_SBExpressionOptions_h_
class LLDB_API SBExpressionOptions