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

Method resumeThread

ui/threadframes.cpp:420–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void 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
438void ThreadFramesWidget::suspendThread()

Callers

nothing calls this directly

Calls 3

isFrameMethod · 0.80
tidMethod · 0.80
ResumeThreadMethod · 0.45

Tested by

no test coverage detected