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

Method suspendThread

ui/threadframes.cpp:438–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436
437
438void ThreadFramesWidget::suspendThread()
439{
440 QModelIndexList sel = selectionModel()->selectedIndexes();
441 if (sel.empty())
442 return;
443
444 FrameItem* item = static_cast<FrameItem*>(sel[0].internalPointer());
445 if (!item)
446 return;
447
448 if (item->isFrame())
449 return;
450
451 m_debugger->SuspendThread(item->tid());
452}
453
454
455bool ThreadFramesWidget::selectionNotEmpty()

Callers

nothing calls this directly

Calls 3

isFrameMethod · 0.80
tidMethod · 0.80
SuspendThreadMethod · 0.45

Tested by

no test coverage detected