| 498 | |
| 499 | |
| 500 | bool 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 | |
| 516 | bool LldbAdapter::ResumeThread(std::uint32_t tid) |
| 517 | { |
nothing calls this directly
no outgoing calls
no test coverage detected