9#ifndef LLDB_API_SBTHREAD_H
10#define LLDB_API_SBTHREAD_H
36 static const char *GetBroadcasterClassName();
46 explicit operator bool()
const;
106 void StepInto(
const char *target_name,
130 bool resume_immediately);
134 bool resume_immediately);
248 friend class lldb_private::python::SWIGBridge;
static llvm::raw_ostream & error(Stream &strm)
static llvm::StringRef GetName(XcodeSDK::Type type)
size_t GetStopDescription(char *dst_or_null, size_t dst_len)
void StepInto(lldb::RunMode stop_other_threads=lldb::eOnlyDuringStepping)
bool Suspend()
LLDB currently supports process centric debugging which means when any thread in a process stops,...
const lldb::SBThread & operator=(const lldb::SBThread &rhs)
friend class SBBreakpointCallbackBaton
lldb::SBFrame SetSelectedFrame(uint32_t frame_idx)
SBError UnwindInnermostExpression()
friend class SBThreadCollection
const char * GetQueueName() const
friend class SBSaveCoreOptions
uint32_t GetIndexID() const
bool GetDescription(lldb::SBStream &description) const
static bool EventIsThreadEvent(const SBEvent &event)
lldb_private::Thread * operator->()
lldb_private::Thread * get()
void StepOutOfFrame(SBFrame &frame)
friend class SBBreakpoint
bool GetStatus(lldb::SBStream &status) const
static SBFrame GetStackFrameFromEvent(const SBEvent &event)
lldb::queue_id_t GetQueueID() const
bool GetInfoItemByPathAsString(const char *path, SBStream &strm)
lldb::SBFrame GetSelectedFrame()
friend class SBExecutionContext
bool operator!=(const lldb::SBThread &rhs) const
SBError StepUsingScriptedThreadPlan(const char *script_class_name)
lldb::tid_t GetThreadID() const
friend class SBThreadPlan
lldb::SBFrame GetFrameAtIndex(uint32_t idx)
uint32_t GetExtendedBacktraceOriginatingIndexID()
lldb::SBQueue GetQueue() const
bool SafeToCallFunctions()
lldb::SBProcess GetProcess()
size_t GetStopReasonDataCount()
Get the number of words associated with the stop reason.
void StepInstruction(bool step_over)
SBThread GetCurrentExceptionBacktrace()
static SBThread GetThreadFromEvent(const SBEvent &event)
bool GetStopReasonExtendedInfoAsJSON(lldb::SBStream &stream)
lldb::StopReason GetStopReason()
SBValue GetStopReturnValue()
void StepOver(lldb::RunMode stop_other_threads=lldb::eOnlyDuringStepping)
SBError JumpToLine(lldb::SBFileSpec &file_spec, uint32_t line)
SBError GetDescriptionWithFormat(const SBFormat &format, SBStream &output)
Similar to GetDescription() but the format of the description can be configured via the format parame...
friend class SBBreakpointLocation
SBThreadCollection GetStopReasonExtendedBacktraces(InstrumentationRuntimeType type)
SBValue GetCurrentException()
void SetThread(const lldb::ThreadSP &lldb_object_sp)
lldb::ThreadSP GetSP() const
SBThread GetExtendedBacktraceThread(const char *type)
lldb::ExecutionContextRefSP m_opaque_sp
void RunToAddress(lldb::addr_t addr)
uint64_t GetStopReasonDataAtIndex(uint32_t idx)
Get information associated with a stop reason.
@ eBroadcastBitThreadSuspended
@ eBroadcastBitSelectedFrameChanged
@ eBroadcastBitThreadResumed
@ eBroadcastBitStackChanged
@ eBroadcastBitThreadSelected
SBError ReturnFromFrame(SBFrame &frame, SBValue &return_value)
bool operator==(const lldb::SBThread &rhs) const
SBError StepOverUntil(lldb::SBFrame &frame, lldb::SBFileSpec &file_spec, uint32_t line)
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Thread > ThreadSP
InstrumentationRuntimeType
StopReason
Thread stop reasons.
std::shared_ptr< lldb_private::ExecutionContextRef > ExecutionContextRefSP