9#ifndef LLDB_API_SBEXPRESSIONOPTIONS_H
10#define LLDB_API_SBEXPRESSIONOPTIONS_H
13#include "lldb/API/SBLanguages.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);
43 void SetFetchDynamicValue(
46 uint32_t GetTimeoutInMicroSeconds()
const;
49 void SetTimeoutInMicroSeconds(uint32_t timeout = 0);
51 uint32_t GetOneThreadTimeoutInMicroSeconds()
const;
56 void SetOneThreadTimeoutInMicroSeconds(uint32_t timeout = 0);
58 bool GetTryAllThreads()
const;
60 void SetTryAllThreads(
bool run_others =
true);
62 bool GetStopOthers()
const;
64 void SetStopOthers(
bool stop_others =
true);
66 bool GetTrapExceptions()
const;
68 void SetTrapExceptions(
bool trap_exceptions =
true);
74 void SetLanguage(lldb::SBSourceLanguageName name, uint32_t version);
80 bool GetGenerateDebugInfo();
82 void SetGenerateDebugInfo(
bool b =
true);
84 bool GetSuppressPersistentResult();
86 void SetSuppressPersistentResult(
bool b =
false);
88 const char *GetPrefix()
const;
90 void SetPrefix(
const char *prefix);
92 void SetAutoApplyFixIts(
bool b =
true);
94 bool GetAutoApplyFixIts();
96 void SetRetriesWithFixIts(uint64_t retries);
98 uint64_t GetRetriesWithFixIts();
102 void SetTopLevel(
bool b =
true);
108 void SetAllowJIT(
bool allow);
121 mutable std::unique_ptr<lldb_private::EvaluateExpressionOptions>
m_opaque_up;
std::unique_ptr< lldb_private::EvaluateExpressionOptions > m_opaque_up
LanguageType
Programming language type.
bool(* ExpressionCancelCallback)(lldb::ExpressionEvaluationPhase phase, void *baton)