LLDB  mainline
Public Member Functions | Static Public Attributes | List of all members
lldb_private::EvaluateExpressionOptions Class Reference

#include <Target.h>

Collaboration diagram for lldb_private::EvaluateExpressionOptions:
Collaboration graph
[legend]

Public Member Functions

 EvaluateExpressionOptions ()=default
 
ExecutionPolicy GetExecutionPolicy () const
 
void SetExecutionPolicy (ExecutionPolicy policy=eExecutionPolicyAlways)
 
lldb::LanguageType GetLanguage () const
 
void SetLanguage (lldb::LanguageType language)
 
bool DoesCoerceToId () const
 
const char * GetPrefix () const
 
void SetPrefix (const char *prefix)
 
void SetCoerceToId (bool coerce=true)
 
bool DoesUnwindOnError () const
 
void SetUnwindOnError (bool unwind=false)
 
bool DoesIgnoreBreakpoints () const
 
void SetIgnoreBreakpoints (bool ignore=false)
 
bool DoesKeepInMemory () const
 
void SetKeepInMemory (bool keep=true)
 
lldb::DynamicValueType GetUseDynamic () const
 
void SetUseDynamic (lldb::DynamicValueType dynamic=lldb::eDynamicCanRunTarget)
 
const Timeout< std::micro > & GetTimeout () const
 
void SetTimeout (const Timeout< std::micro > &timeout)
 
const Timeout< std::micro > & GetOneThreadTimeout () const
 
void SetOneThreadTimeout (const Timeout< std::micro > &timeout)
 
bool GetTryAllThreads () const
 
void SetTryAllThreads (bool try_others=true)
 
bool GetStopOthers () const
 
void SetStopOthers (bool stop_others=true)
 
bool GetDebug () const
 
void SetDebug (bool b)
 
bool GetGenerateDebugInfo () const
 
void SetGenerateDebugInfo (bool b)
 
bool GetColorizeErrors () const
 
void SetColorizeErrors (bool b)
 
bool GetTrapExceptions () const
 
void SetTrapExceptions (bool b)
 
bool GetREPLEnabled () const
 
void SetREPLEnabled (bool b)
 
void SetCancelCallback (lldb::ExpressionCancelCallback callback, void *baton)
 
bool InvokeCancelCallback (lldb::ExpressionEvaluationPhase phase) const
 
void SetPoundLine (const char *path, uint32_t line) const
 
const char * GetPoundLineFilePath () const
 
uint32_t GetPoundLineLine () const
 
void SetResultIsInternal (bool b)
 
bool GetResultIsInternal () const
 
void SetAutoApplyFixIts (bool b)
 
bool GetAutoApplyFixIts () const
 
bool IsForUtilityExpr () const
 
void SetIsForUtilityExpr (bool b)
 

Static Public Attributes

static constexpr std::chrono::milliseconds default_timeout {500}
 
static constexpr ExecutionPolicy default_execution_policy
 

Detailed Description

Definition at line 238 of file Target.h.

Constructor & Destructor Documentation

◆ EvaluateExpressionOptions()

lldb_private::EvaluateExpressionOptions::EvaluateExpressionOptions ( )
default

Member Function Documentation

◆ DoesCoerceToId()

bool lldb_private::EvaluateExpressionOptions::DoesCoerceToId ( ) const
inline

Definition at line 268 of file Target.h.

Referenced by lldb_private::UserExpression::Evaluate().

◆ DoesIgnoreBreakpoints()

bool lldb_private::EvaluateExpressionOptions::DoesIgnoreBreakpoints ( ) const
inline

◆ DoesKeepInMemory()

bool lldb_private::EvaluateExpressionOptions::DoesKeepInMemory ( ) const
inline

Definition at line 293 of file Target.h.

◆ DoesUnwindOnError()

bool lldb_private::EvaluateExpressionOptions::DoesUnwindOnError ( ) const
inline

◆ GetAutoApplyFixIts()

bool lldb_private::EvaluateExpressionOptions::GetAutoApplyFixIts ( ) const
inline

Definition at line 383 of file Target.h.

Referenced by lldb_private::UserExpression::Evaluate().

◆ GetColorizeErrors()

bool lldb_private::EvaluateExpressionOptions::GetColorizeErrors ( ) const
inline

Definition at line 336 of file Target.h.

◆ GetDebug()

bool lldb_private::EvaluateExpressionOptions::GetDebug ( ) const
inline

◆ GetExecutionPolicy()

ExecutionPolicy lldb_private::EvaluateExpressionOptions::GetExecutionPolicy ( ) const
inline

◆ GetGenerateDebugInfo()

bool lldb_private::EvaluateExpressionOptions::GetGenerateDebugInfo ( ) const
inline

Definition at line 332 of file Target.h.

Referenced by lldb_private::UserExpression::Evaluate().

◆ GetLanguage()

lldb::LanguageType lldb_private::EvaluateExpressionOptions::GetLanguage ( ) const
inline

Definition at line 264 of file Target.h.

Referenced by lldb_private::UserExpression::Evaluate().

◆ GetOneThreadTimeout()

const Timeout<std::micro>& lldb_private::EvaluateExpressionOptions::GetOneThreadTimeout ( ) const
inline

◆ GetPoundLineFilePath()

const char* lldb_private::EvaluateExpressionOptions::GetPoundLineFilePath ( ) const
inline

Definition at line 371 of file Target.h.

◆ GetPoundLineLine()

uint32_t lldb_private::EvaluateExpressionOptions::GetPoundLineLine ( ) const
inline

Definition at line 375 of file Target.h.

◆ GetPrefix()

const char* lldb_private::EvaluateExpressionOptions::GetPrefix ( ) const
inline

Definition at line 270 of file Target.h.

Referenced by lldb_private::UserExpression::Evaluate().

◆ GetREPLEnabled()

bool lldb_private::EvaluateExpressionOptions::GetREPLEnabled ( ) const
inline

Definition at line 344 of file Target.h.

◆ GetResultIsInternal()

bool lldb_private::EvaluateExpressionOptions::GetResultIsInternal ( ) const
inline

Definition at line 379 of file Target.h.

Referenced by lldb_private::UserExpression::Execute().

◆ GetStopOthers()

bool lldb_private::EvaluateExpressionOptions::GetStopOthers ( ) const
inline

◆ GetTimeout()

const Timeout<std::micro>& lldb_private::EvaluateExpressionOptions::GetTimeout ( ) const
inline

◆ GetTrapExceptions()

bool lldb_private::EvaluateExpressionOptions::GetTrapExceptions ( ) const
inline

Definition at line 340 of file Target.h.

Referenced by lldb_private::ThreadPlanCallFunction::ConstructorSetup().

◆ GetTryAllThreads()

bool lldb_private::EvaluateExpressionOptions::GetTryAllThreads ( ) const
inline

Definition at line 316 of file Target.h.

Referenced by GetExpressionTimeout(), and lldb_private::Process::RunThreadPlan().

◆ GetUseDynamic()

lldb::DynamicValueType lldb_private::EvaluateExpressionOptions::GetUseDynamic ( ) const
inline

Definition at line 297 of file Target.h.

◆ InvokeCancelCallback()

bool lldb_private::EvaluateExpressionOptions::InvokeCancelCallback ( lldb::ExpressionEvaluationPhase  phase) const
inline

Definition at line 353 of file Target.h.

Referenced by lldb_private::UserExpression::Evaluate().

◆ IsForUtilityExpr()

bool lldb_private::EvaluateExpressionOptions::IsForUtilityExpr ( ) const
inline

Definition at line 385 of file Target.h.

Referenced by lldb_private::Process::RunThreadPlan().

◆ SetAutoApplyFixIts()

void lldb_private::EvaluateExpressionOptions::SetAutoApplyFixIts ( bool  b)
inline

◆ SetCancelCallback()

void lldb_private::EvaluateExpressionOptions::SetCancelCallback ( lldb::ExpressionCancelCallback  callback,
void *  baton 
)
inline

Definition at line 348 of file Target.h.

◆ SetCoerceToId()

void lldb_private::EvaluateExpressionOptions::SetCoerceToId ( bool  coerce = true)
inline

◆ SetColorizeErrors()

void lldb_private::EvaluateExpressionOptions::SetColorizeErrors ( bool  b)
inline

Definition at line 338 of file Target.h.

Referenced by lldb_private::REPL::IOHandlerInputComplete().

◆ SetDebug()

void lldb_private::EvaluateExpressionOptions::SetDebug ( bool  b)
inline

◆ SetExecutionPolicy()

void lldb_private::EvaluateExpressionOptions::SetExecutionPolicy ( ExecutionPolicy  policy = eExecutionPolicyAlways)
inline

◆ SetGenerateDebugInfo()

void lldb_private::EvaluateExpressionOptions::SetGenerateDebugInfo ( bool  b)
inline

◆ SetIgnoreBreakpoints()

void lldb_private::EvaluateExpressionOptions::SetIgnoreBreakpoints ( bool  ignore = false)
inline

◆ SetIsForUtilityExpr()

void lldb_private::EvaluateExpressionOptions::SetIsForUtilityExpr ( bool  b)
inline

◆ SetKeepInMemory()

void lldb_private::EvaluateExpressionOptions::SetKeepInMemory ( bool  keep = true)
inline

◆ SetLanguage()

void lldb_private::EvaluateExpressionOptions::SetLanguage ( lldb::LanguageType  language)
inline

◆ SetOneThreadTimeout()

void lldb_private::EvaluateExpressionOptions::SetOneThreadTimeout ( const Timeout< std::micro > &  timeout)
inline

Definition at line 312 of file Target.h.

◆ SetPoundLine()

void lldb_private::EvaluateExpressionOptions::SetPoundLine ( const char *  path,
uint32_t  line 
) const
inline

Definition at line 361 of file Target.h.

Referenced by lldb_private::REPL::IOHandlerInputComplete().

◆ SetPrefix()

void lldb_private::EvaluateExpressionOptions::SetPrefix ( const char *  prefix)
inline

Definition at line 274 of file Target.h.

Referenced by lldb_private::MemoryHistoryASan::GetHistoryThreads(), and Renumber().

◆ SetREPLEnabled()

void lldb_private::EvaluateExpressionOptions::SetREPLEnabled ( bool  b)
inline

Definition at line 346 of file Target.h.

Referenced by lldb_private::REPL::IOHandlerInputComplete().

◆ SetResultIsInternal()

void lldb_private::EvaluateExpressionOptions::SetResultIsInternal ( bool  b)
inline

Definition at line 377 of file Target.h.

Referenced by lldb_private::BreakpointLocation::ConditionSaysStop().

◆ SetStopOthers()

void lldb_private::EvaluateExpressionOptions::SetStopOthers ( bool  stop_others = true)
inline

◆ SetTimeout()

void lldb_private::EvaluateExpressionOptions::SetTimeout ( const Timeout< std::micro > &  timeout)
inline

◆ SetTrapExceptions()

void lldb_private::EvaluateExpressionOptions::SetTrapExceptions ( bool  b)
inline

◆ SetTryAllThreads()

void lldb_private::EvaluateExpressionOptions::SetTryAllThreads ( bool  try_others = true)
inline

◆ SetUnwindOnError()

void lldb_private::EvaluateExpressionOptions::SetUnwindOnError ( bool  unwind = false)
inline

◆ SetUseDynamic()

void lldb_private::EvaluateExpressionOptions::SetUseDynamic ( lldb::DynamicValueType  dynamic = lldb::eDynamicCanRunTarget)
inline

Member Data Documentation

◆ default_execution_policy

constexpr ExecutionPolicy lldb_private::EvaluateExpressionOptions::default_execution_policy
static

◆ default_timeout

constexpr std::chrono::milliseconds EvaluateExpressionOptions::default_timeout {500}
static

Definition at line 248 of file Target.h.


The documentation for this class was generated from the following files: