MCPcopy Create free account
hub / github.com/KDAB/GammaRay / createStackTrace

Method createStackTrace

core/paintbuffer.cpp:272–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void PaintBufferEngine::createStackTrace()
273{
274 if (!Execution::stackTracingAvailable())
275 return;
276
277 const auto size = m_buffer->data()->commands.size();
278 m_buffer->m_stackTraces.resize(size);
279 // TODO find a way to stop this at the analyzer call site, we don't want to see the gammaray call chain
280 m_buffer->m_stackTraces.back() = Execution::stackTrace(16, 2);
281}
282void PaintBufferEngine::pushOrigin()
283{
284 const auto size = m_buffer->data()->commands.size();

Callers

nothing calls this directly

Calls 4

stackTracingAvailableFunction · 0.85
sizeMethod · 0.45
dataMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected