Auto-refresh the Array Visualizer at each stopping point

This commit is contained in:
tiresiasfromthebai
2026-07-27 22:56:58 +02:00
parent f8d1629ea0
commit c799a93248
2 changed files with 19 additions and 0 deletions
+8
View File
@@ -705,6 +705,14 @@ void SeerArrayVisualizerWidget::handleText (const QString& text) {
bArrayStrideLineEdit->setFocus();
}
// At a stopping point, refresh.
}else if (text.startsWith("*stopped,reason=\"")) {
if (autoRefreshCheckBox->isChecked()) {
handleaRefreshButton();
handlebRefreshButton();
}
}else{
// Ignore anything else.
}
+11
View File
@@ -285,6 +285,16 @@
</property>
</widget>
</item>
<item row="0" column="8" rowspan="2">
<widget class="QCheckBox" name="autoRefreshCheckBox">
<property name="toolTip">
<string>Automatically refresh after each stopping point.</string>
</property>
<property name="text">
<string>Auto</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="SeerHistoryLineEdit" name="aVariableNameLineEdit">
<property name="toolTip">
@@ -528,6 +538,7 @@
<tabstop>aArrayStrideLineEdit</tabstop>
<tabstop>aArrayDisplayFormatComboBox</tabstop>
<tabstop>aRefreshToolButton</tabstop>
<tabstop>autoRefreshCheckBox</tabstop>
<tabstop>bAxisComboBox</tabstop>
<tabstop>bVariableNameLineEdit</tabstop>
<tabstop>bVariableAddressLineEdit</tabstop>