MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / watchSetPrev

Method watchSetPrev

gui/qt/debugger.cpp:1324–1336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1322// ------------------------------------------------
1323
1324void MainWindow::watchSetPrev(QTableWidgetItem *current, QTableWidgetItem *previous) {
1325 (void)previous;
1326 if (current == Q_NULLPTR || current->text().isEmpty()) {
1327 return;
1328 }
1329
1330 if (current->column() == WATCH_LOW_COL) {
1331 m_prevWatchLow = current->text();
1332 }
1333 if (current->column() == WATCH_HIGH_COL) {
1334 m_prevWatchHigh = current->text();
1335 }
1336}
1337
1338void MainWindow::watchRemoveRow(int row) {
1339 if (m_watchpoints->item(row, WATCH_LOW_COL)->text() != DEBUG_UNSET_ADDR &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected