MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / slotFrameSelected

Method slotFrameSelected

src/plugins/debugger/dap/dapdebugger.cpp:1139–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1137}
1138
1139void DAPDebugger::slotFrameSelected()
1140{
1141 // update local variables.
1142 d->processingVariablesTimer.start(50);
1143 d->processingVariablesCount.ref();
1144 auto curFrame = d->stackModel.currentFrame();
1145 QtConcurrent::run([=]() {
1146 IVariables locals;
1147 getLocals(curFrame.frameId, &locals);
1148 d->localsModel.clearHighlightItems();
1149 d->localsModel.setDatas(locals);
1150 d->processingVariablesCount.deref();
1151 emit processingVariablesDone();
1152 });
1153}
1154
1155void DAPDebugger::slotBreakpointSelected(const QModelIndex &index)
1156{

Callers

nothing calls this directly

Calls 4

currentFrameMethod · 0.80
clearHighlightItemsMethod · 0.80
startMethod · 0.45
setDatasMethod · 0.45

Tested by

no test coverage detected