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

Method fetchMoreFrames

kdevplatform/debugger/framestack/framestackmodel.cpp:434–445  ·  view source on GitHub ↗

FIXME: it should be possible to fetch more frames for an arbitrary thread, without making it current.

Source from the content-addressed store, hash-verified

432// FIXME: it should be possible to fetch more frames for
433// an arbitrary thread, without making it current.
434void FrameStackModel::fetchMoreFrames()
435{
436 Q_D(FrameStackModel);
437
438 d->m_subsequentFrameFetchOperations += 1;
439 const int fetch = 20 * d->m_subsequentFrameFetchOperations * d->m_subsequentFrameFetchOperations;
440 if (d->m_currentThread != -1 && d->m_hasMoreFrames[d->m_currentThread]) {
441 setHasMoreFrames(d->m_currentThread, false);
442 const int frameCount = d->m_frames[d->m_currentThread].size();
443 fetchFrames(d->m_currentThread, frameCount, frameCount - 1 + fetch);
444 }
445}
446
447}
448

Callers 2

checkFetchMoreFramesMethod · 0.80
testStackFetchMoreMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

testStackFetchMoreMethod · 0.64