| 418 | } |
| 419 | |
| 420 | void ThreadFramesWidget::resumeThread() |
| 421 | { |
| 422 | QModelIndexList sel = selectionModel()->selectedIndexes(); |
| 423 | if (sel.empty()) |
| 424 | return; |
| 425 | |
| 426 | FrameItem* item = static_cast<FrameItem*>(sel[0].internalPointer()); |
| 427 | if (!item) |
| 428 | return; |
| 429 | |
| 430 | // resume & suspend only works at thread rows |
| 431 | if (item->isFrame()) |
| 432 | return; |
| 433 | |
| 434 | m_debugger->ResumeThread(item->tid()); |
| 435 | } |
| 436 | |
| 437 | |
| 438 | void ThreadFramesWidget::suspendThread() |
nothing calls this directly
no test coverage detected