9#ifndef LLDB_API_SBTHREAD_H
10#define LLDB_API_SBTHREAD_H
29 eBroadcastBitStackChanged = (1 << 0),
30 eBroadcastBitThreadSuspended = (1 << 1),
31 eBroadcastBitThreadResumed = (1 << 2),
32 eBroadcastBitSelectedFrameChanged = (1 << 3),
33 eBroadcastBitThreadSelected = (1 << 4)
36 static const char *GetBroadcasterClassName();
46 explicit operator bool()
const;
56 size_t GetStopReasonDataCount();
77 uint64_t GetStopReasonDataAtIndex(uint32_t idx);
84 size_t GetStopDescription(
char *dst_or_null,
size_t dst_len);
90 uint32_t GetIndexID()
const;
94 const char *GetQueueName()
const;
98 bool GetInfoItemByPathAsString(
const char *path,
SBStream &strm);
106 void StepInto(
const char *target_name,
109 void StepInto(
const char *target_name, uint32_t end_line,
SBError &
error,
116 void StepOutOfFrame(
SBFrame &frame);
120 void StepInstruction(
bool step_over);
127 SBError StepUsingScriptedThreadPlan(
const char *script_class_name);
129 SBError StepUsingScriptedThreadPlan(
const char *script_class_name,
130 bool resume_immediately);
132 SBError StepUsingScriptedThreadPlan(
const char *script_class_name,
134 bool resume_immediately);
144 SBError UnwindInnermostExpression();
177 uint32_t GetNumFrames();
185 static bool EventIsThreadEvent(
const SBEvent &event);
201 bool GetDescription(
lldb::SBStream &description,
bool stop_format)
const;
220 SBThread GetExtendedBacktraceThread(
const char *type);
222 uint32_t GetExtendedBacktraceOriginatingIndexID();
226 SBThread GetCurrentExceptionBacktrace();
228 bool SafeToCallFunctions();
247 friend class lldb_private::python::SWIGBridge;
static llvm::raw_ostream & error(Stream &strm)
static llvm::StringRef GetName(XcodeSDK::Type type)
lldb::ExecutionContextRefSP m_opaque_sp
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Thread > ThreadSP
InstrumentationRuntimeType
StopReason
Thread stop reasons.
bool LLDB_API operator==(const SBAddress &lhs, const SBAddress &rhs)
std::shared_ptr< lldb_private::ExecutionContextRef > ExecutionContextRefSP