9 #ifndef LLDB_API_SBEXPRESSIONOPTIONS_H
10 #define LLDB_API_SBEXPRESSIONOPTIONS_H
28 bool GetCoerceResultToId()
const;
30 void SetCoerceResultToId(
bool coerce =
true);
32 bool GetUnwindOnError()
const;
34 void SetUnwindOnError(
bool unwind =
true);
36 bool GetIgnoreBreakpoints()
const;
38 void SetIgnoreBreakpoints(
bool ignore =
true);
42 void SetFetchDynamicValue(
45 uint32_t GetTimeoutInMicroSeconds()
const;
48 void SetTimeoutInMicroSeconds(
uint32_t timeout = 0);
50 uint32_t GetOneThreadTimeoutInMicroSeconds()
const;
55 void SetOneThreadTimeoutInMicroSeconds(
uint32_t timeout = 0);
57 bool GetTryAllThreads()
const;
59 void SetTryAllThreads(
bool run_others =
true);
61 bool GetStopOthers()
const;
63 void SetStopOthers(
bool stop_others =
true);
65 bool GetTrapExceptions()
const;
67 void SetTrapExceptions(
bool trap_exceptions =
true);
73 bool GetGenerateDebugInfo();
75 void SetGenerateDebugInfo(
bool b =
true);
77 bool GetSuppressPersistentResult();
79 void SetSuppressPersistentResult(
bool b =
false);
81 const char *GetPrefix()
const;
83 void SetPrefix(
const char *prefix);
85 void SetAutoApplyFixIts(
bool b =
true);
87 bool GetAutoApplyFixIts();
89 void SetRetriesWithFixIts(uint64_t retries);
91 uint64_t GetRetriesWithFixIts();
95 void SetTopLevel(
bool b =
true);
101 void SetAllowJIT(
bool allow);
114 mutable std::unique_ptr<lldb_private::EvaluateExpressionOptions>
m_opaque_up;
119 #endif // LLDB_API_SBEXPRESSIONOPTIONS_H