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

Method SuspendThread

core/adapters/lldbadapter.cpp:500–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498
499
500bool LldbAdapter::SuspendThread(std::uint32_t tid)
501{
502 SBError error;
503 SBThread thread = m_process.GetThreadByID(tid);
504 if (!thread.IsValid())
505 return false;
506
507 if (!thread.Suspend(error))
508 return false;
509
510 if (!error.Success())
511 return false;
512
513 return true;
514}
515
516bool LldbAdapter::ResumeThread(std::uint32_t tid)
517{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected