MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / refreshData

Method refreshData

pcsx2-qt/Debugger/StackModel.cpp:105–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void StackModel::refreshData()
106{
107 // Hopefully in the near future we can get a stack frame for
108 // each thread
109 beginResetModel();
110 for (const auto& thread : m_cpu.GetThreadList())
111 {
112 if (thread->Status() == ThreadStatus::THS_RUN)
113 {
114 m_stackFrames = m_cpu.StackTrace(*thread);
115 break;
116 }
117 }
118 endResetModel();
119}
120
121#include "moc_StackModel.cpp"

Callers 4

toggleBreakpointMethod · 0.45
ModuleViewMethod · 0.45
StackViewMethod · 0.45
ThreadViewMethod · 0.45

Calls 3

GetThreadListMethod · 0.80
StackTraceMethod · 0.80
StatusMethod · 0.45

Tested by

no test coverage detected