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

Method expandCurrentThread

ui/threadframes.cpp:643–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641
642
643void ThreadFramesWidget::expandCurrentThread()
644{
645 for (int i = 0; i < m_model->rowCount(); i++)
646 {
647 auto index = m_model->index(i, 0);
648 if (!index.isValid())
649 return;
650
651 FrameItem* item = static_cast<FrameItem*>(index.internalPointer());
652 if (!item)
653 return;
654
655 if (m_debugger->GetActiveThread().m_tid == item->tid())
656 {
657 expand(index);
658 return;
659 }
660 }
661}
662
663
664void ThreadFramesWidget::updateContent()

Callers

nothing calls this directly

Calls 4

tidMethod · 0.80
rowCountMethod · 0.45
indexMethod · 0.45
GetActiveThreadMethod · 0.45

Tested by

no test coverage detected