MCPcopy Create free account
hub / github.com/KDE/kdevelop / frame

Method frame

kdevplatform/debugger/framestack/framestackmodel.cpp:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159FrameStackModel::FrameItem FrameStackModel::frame(const QModelIndex& index)
160{
161 Q_D(FrameStackModel);
162
163 Q_ASSERT(index.internalId());
164 Q_ASSERT(static_cast<quintptr>(d->m_threads.count()) >= index.internalId());
165 const ThreadItem &thread = d->m_threads.at(index.internalId()-1);
166 return d->m_frames[thread.nr].at(index.row());
167}
168
169QVector<FrameStackModel::FrameItem> FrameStackModel::frames(int threadNumber) const
170{

Callers 2

frameSelectionChangedMethod · 0.45
copySelectionMethod · 0.45

Calls 3

countMethod · 0.45
atMethod · 0.45
rowMethod · 0.45

Tested by

no test coverage detected