MCPcopy Create free account
hub / github.com/Vector35/debugger / GetActiveThreadId

Method GetActiveThreadId

core/adapters/lldbadapter.cpp:476–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474
475
476uint32_t LldbAdapter::GetActiveThreadId() const
477{
478 SBThread thread = m_process.GetSelectedThread();
479 if (!thread.IsValid())
480 return 0;
481
482 auto tid = thread.GetThreadID();
483 // TODO: we should probably change the return value to uint64_t
484 return tid;
485}
486
487
488bool LldbAdapter::SetActiveThread(const DebugThread& thread)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected