LLDB  mainline
Public Member Functions | Friends | List of all members
lldb::SBThreadPlan Class Reference

#include <SBThreadPlan.h>

Public Member Functions

 SBThreadPlan ()
 
 SBThreadPlan (const lldb::SBThreadPlan &threadPlan)
 
 SBThreadPlan (const lldb::ThreadPlanSP &lldb_object_sp)
 
 SBThreadPlan (lldb::SBThread &thread, const char *class_name)
 
 ~SBThreadPlan ()
 
 operator bool () const
 
bool IsValid () const
 
void Clear ()
 
lldb::StopReason GetStopReason ()
 
size_t GetStopReasonDataCount ()
 Get the number of words associated with the stop reason. More...
 
uint64_t GetStopReasonDataAtIndex (uint32_t idx)
 Get information associated with a stop reason. More...
 
SBThread GetThread () const
 
const lldb::SBThreadPlanoperator= (const lldb::SBThreadPlan &rhs)
 
bool GetDescription (lldb::SBStream &description) const
 
void SetPlanComplete (bool success)
 
bool IsPlanComplete ()
 
bool IsPlanStale ()
 
bool IsValid ()
 
SBThreadPlan QueueThreadPlanForStepOverRange (SBAddress &start_address, lldb::addr_t range_size)
 
SBThreadPlan QueueThreadPlanForStepOverRange (SBAddress &start_address, lldb::addr_t range_size, SBError &error)
 
SBThreadPlan QueueThreadPlanForStepInRange (SBAddress &start_address, lldb::addr_t range_size)
 
SBThreadPlan QueueThreadPlanForStepInRange (SBAddress &start_address, lldb::addr_t range_size, SBError &error)
 
SBThreadPlan QueueThreadPlanForStepOut (uint32_t frame_idx_to_step_to, bool first_insn=false)
 
SBThreadPlan QueueThreadPlanForStepOut (uint32_t frame_idx_to_step_to, bool first_insn, SBError &error)
 
SBThreadPlan QueueThreadPlanForRunToAddress (SBAddress address)
 
SBThreadPlan QueueThreadPlanForRunToAddress (SBAddress address, SBError &error)
 
SBThreadPlan QueueThreadPlanForStepScripted (const char *script_class_name)
 
SBThreadPlan QueueThreadPlanForStepScripted (const char *script_class_name, SBError &error)
 

Friends

class lldb_private::ThreadPlan
 
class SBBreakpoint
 
class SBBreakpointLocation
 
class SBFrame
 
class SBProcess
 
class SBDebugger
 
class SBValue
 
class lldb_private::QueueImpl
 
class SBQueueItem
 

Detailed Description

Definition at line 18 of file SBThreadPlan.h.

Constructor & Destructor Documentation

◆ SBThreadPlan() [1/4]

SBThreadPlan::SBThreadPlan ( )

◆ SBThreadPlan() [2/4]

SBThreadPlan::SBThreadPlan ( const lldb::SBThreadPlan threadPlan)

Definition at line 59 of file SBThreadPlan.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBThreadPlan() [3/4]

lldb::SBThreadPlan::SBThreadPlan ( const lldb::ThreadPlanSP &  lldb_object_sp)

◆ SBThreadPlan() [4/4]

SBThreadPlan::SBThreadPlan ( lldb::SBThread thread,
const char *  class_name 
)

Definition at line 64 of file SBThreadPlan.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBThreadPlan()

SBThreadPlan::~SBThreadPlan ( )

Definition at line 84 of file SBThreadPlan.cpp.

Member Function Documentation

◆ Clear()

void SBThreadPlan::Clear ( )

◆ GetDescription()

bool SBThreadPlan::GetDescription ( lldb::SBStream description) const

◆ GetStopReason()

lldb::StopReason SBThreadPlan::GetStopReason ( )

◆ GetStopReasonDataAtIndex()

uint64_t SBThreadPlan::GetStopReasonDataAtIndex ( uint32_t  idx)

Get information associated with a stop reason.

Breakpoint stop reasons will have data that consists of pairs of breakpoint IDs followed by the breakpoint location IDs (they always come in pairs).

Stop Reason Count Data Type ======================== ===== ========================================= eStopReasonNone 0 eStopReasonTrace 0 eStopReasonBreakpoint N duple: {breakpoint id, location id} eStopReasonWatchpoint 1 watchpoint id eStopReasonSignal 1 unix signal number eStopReasonException N exception data eStopReasonExec 0 eStopReasonPlanComplete 0

Definition at line 116 of file SBThreadPlan.cpp.

References LLDB_RECORD_METHOD.

Referenced by lldb_private::repro::RegisterMethods< SBThreadPlan >().

◆ GetStopReasonDataCount()

size_t SBThreadPlan::GetStopReasonDataCount ( )

Get the number of words associated with the stop reason.

See also GetStopReasonDataAtIndex().

Definition at line 110 of file SBThreadPlan.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBThreadPlan >().

◆ GetThread()

SBThread SBThreadPlan::GetThread ( ) const

◆ IsPlanComplete()

bool SBThreadPlan::IsPlanComplete ( )

◆ IsPlanStale()

bool SBThreadPlan::IsPlanStale ( )

◆ IsValid() [1/2]

bool SBThreadPlan::IsValid ( ) const

◆ IsValid() [2/2]

bool SBThreadPlan::IsValid ( )

Definition at line 174 of file SBThreadPlan.cpp.

References IsValid(), and LLDB_RECORD_METHOD_NO_ARGS.

◆ operator bool()

SBThreadPlan::operator bool ( ) const
explicit

Definition at line 92 of file SBThreadPlan.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator=()

const lldb::SBThreadPlan & SBThreadPlan::operator= ( const lldb::SBThreadPlan rhs)

Definition at line 75 of file SBThreadPlan.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ QueueThreadPlanForRunToAddress() [1/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress ( SBAddress  address)

◆ QueueThreadPlanForRunToAddress() [2/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress ( SBAddress  address,
SBError error 
)

◆ QueueThreadPlanForStepInRange() [1/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepInRange ( SBAddress start_address,
lldb::addr_t  range_size 
)

◆ QueueThreadPlanForStepInRange() [2/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepInRange ( SBAddress start_address,
lldb::addr_t  range_size,
SBError error 
)

◆ QueueThreadPlanForStepOut() [1/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOut ( uint32_t  frame_idx_to_step_to,
bool  first_insn = false 
)

◆ QueueThreadPlanForStepOut() [2/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOut ( uint32_t  frame_idx_to_step_to,
bool  first_insn,
SBError error 
)

◆ QueueThreadPlanForStepOverRange() [1/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOverRange ( SBAddress start_address,
lldb::addr_t  range_size 
)

◆ QueueThreadPlanForStepOverRange() [2/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOverRange ( SBAddress start_address,
lldb::addr_t  range_size,
SBError error 
)

◆ QueueThreadPlanForStepScripted() [1/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepScripted ( const char *  script_class_name)

◆ QueueThreadPlanForStepScripted() [2/2]

SBThreadPlan SBThreadPlan::QueueThreadPlanForStepScripted ( const char *  script_class_name,
SBError error 
)

◆ SetPlanComplete()

void SBThreadPlan::SetPlanComplete ( bool  success)

Friends And Related Function Documentation

◆ lldb_private::QueueImpl

friend class lldb_private::QueueImpl
friend

Definition at line 111 of file SBThreadPlan.h.

◆ lldb_private::ThreadPlan

friend class lldb_private::ThreadPlan
friend

Definition at line 20 of file SBThreadPlan.h.

◆ SBBreakpoint

friend class SBBreakpoint
friend

Definition at line 105 of file SBThreadPlan.h.

◆ SBBreakpointLocation

friend class SBBreakpointLocation
friend

Definition at line 106 of file SBThreadPlan.h.

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 109 of file SBThreadPlan.h.

◆ SBFrame

friend class SBFrame
friend

Definition at line 107 of file SBThreadPlan.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 108 of file SBThreadPlan.h.

◆ SBQueueItem

friend class SBQueueItem
friend

Definition at line 112 of file SBThreadPlan.h.

◆ SBValue

friend class SBValue
friend

Definition at line 110 of file SBThreadPlan.h.


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