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

Method GetActiveThreadId

core/adapters/dbgengadapter.cpp:745–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743}
744
745std::uint32_t DbgEngAdapter::GetActiveThreadId() const
746{
747 unsigned long current_tid {};
748 if (this->m_debugSystemObjects->GetCurrentThreadId(&current_tid) != S_OK)
749 return {};
750
751 return current_tid;
752}
753
754bool DbgEngAdapter::SetActiveThread(const DebugThread& thread)
755{

Callers 1

GetActiveThreadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected