Merge branch 'main' into 157-ux-bug-or-flaw-seer-execution-messages-popup-is-getting-in-the-way-a-lot

This commit is contained in:
Ernie Pasveer
2023-10-07 12:26:11 -05:00
7 changed files with 240 additions and 184 deletions
+1
View File
@@ -8,6 +8,7 @@
* Fixed a rare bug with blank lines from gdb causing a segv in GdbMonitor.
* Fixed bug specifying path to "rr" debugger.
* Add option to reload source file if it changes.
* Tighten up the layout by removing some needless whitespace.
## [2.2] - 2023-09-07
* Fixed infinite loop when starting with RR mode.
+6
View File
@@ -17,12 +17,18 @@
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
+27 -14
View File
@@ -6,34 +6,47 @@
<rect>
<x>0</x>
<y>0</y>
<width>854</width>
<height>571</height>
<width>771</width>
<height>479</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">font-weight: bold;</string>
</property>
<property name="text">
<string>Source/Symbol/Library Info</string>
</property>
<layout class="QGridLayout" name="gridLayout_1">
<item row="0" column="0">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
</layout>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
</layout>
+2 -2
View File
@@ -193,7 +193,7 @@ void SeerStackManagerWidget::handleText (const QString& text) {
QString currentthreadid_text = Seer::parseFirst(newtext, "current-thread-id=", '"', '"', false);
groupBox->setTitle("Stack Info for Thread Id : " + currentthreadid_text + " "); // Add trailing spaces. Some window styles will loose the number.
label->setText("Stack Info for Thread Id : " + currentthreadid_text);
stackFramesBrowserWidget()->refresh();
stackArgumentsBrowserWidget()->refresh();
@@ -201,7 +201,7 @@ void SeerStackManagerWidget::handleText (const QString& text) {
}else if (text.startsWith("^error,msg=\"No registers.\"")) {
groupBox->setTitle("Stack Info");
label->setText("Stack Info");
}else{
// Ignore others.
+27 -14
View File
@@ -6,34 +6,47 @@
<rect>
<x>0</x>
<y>0</y>
<width>854</width>
<height>571</height>
<width>773</width>
<height>494</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">font-weight: bold;</string>
</property>
<property name="text">
<string>Stack Info</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
</layout>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
</layout>
+150 -140
View File
@@ -6,162 +6,172 @@
<rect>
<x>0</x>
<y>0</y>
<width>778</width>
<height>621</height>
<width>914</width>
<height>536</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<property name="horizontalSpacing">
<number>3</number>
</property>
<item row="0" column="0" colspan="5">
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">font-weight: bold;</string>
</property>
<property name="text">
<string>Thread/Process Info</string>
</property>
<property name="checkable">
<bool>false</bool>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="5">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="schedulerLockingLabel">
<property name="text">
<string>Scheduler locking:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="scheduleMultipleLabel">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Schedule multiple:</string>
</property>
</widget>
</item>
<item row="1" column="2" rowspan="2">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="forkFollowsLabel">
<property name="text">
<string>Fork follows:</string>
</property>
</widget>
</item>
<item row="1" column="4">
<spacer name="horizontalSpacer_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>402</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QComboBox" name="schedulerLockingComboBox">
<property name="toolTip">
<string>Set the scheduler locking mode.</string>
</property>
<item>
<property name="text">
<string>replay</string>
</property>
</item>
<item>
<property name="text">
<string>off</string>
</property>
</item>
<item>
<property name="text">
<string>on</string>
</property>
</item>
<item>
<property name="text">
<string>step</string>
</property>
</item>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="scheduleMultipleComboBox">
<property name="toolTip">
<string>Set the mode for allowing threads of multiple processes to be resumed when an execution command is issued.</string>
</property>
<item>
<property name="text">
<string>off</string>
</property>
</item>
<item>
<property name="text">
<string>on</string>
</property>
</item>
</widget>
</item>
<item row="2" column="3">
<widget class="QComboBox" name="forkFollowsComboBox">
<property name="toolTip">
<string>Set the debugger response to a program call of fork or vfork.</string>
</property>
<item>
<property name="text">
<string>parent</string>
</property>
</item>
<item>
<property name="text">
<string>child</string>
</property>
</item>
<item>
<property name="text">
<string>both</string>
</property>
</item>
</widget>
</item>
<item row="2" column="4">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>402</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="0" colspan="5">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="schedulerLockingLabel">
<property name="text">
<string>Scheduler locking:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="scheduleMultipleLabel">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Schedule multiple:</string>
</property>
</widget>
</item>
<item row="2" column="2" rowspan="2">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLabel" name="forkFollowsLabel">
<property name="text">
<string>Fork follows:</string>
</property>
</widget>
</item>
<item row="2" column="4">
<spacer name="horizontalSpacer_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>564</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="0">
<widget class="QComboBox" name="schedulerLockingComboBox">
<property name="toolTip">
<string>Set the scheduler locking mode.</string>
</property>
<item>
<property name="text">
<string>replay</string>
</property>
</item>
<item>
<property name="text">
<string>off</string>
</property>
</item>
<item>
<property name="text">
<string>on</string>
</property>
</item>
<item>
<property name="text">
<string>step</string>
</property>
</item>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="scheduleMultipleComboBox">
<property name="toolTip">
<string>Set the mode for allowing threads of multiple processes to be resumed when an execution command is issued.</string>
</property>
<item>
<property name="text">
<string>off</string>
</property>
</item>
<item>
<property name="text">
<string>on</string>
</property>
</item>
</widget>
</item>
<item row="3" column="3">
<widget class="QComboBox" name="forkFollowsComboBox">
<property name="toolTip">
<string>Set the debugger response to a program call of fork or vfork.</string>
</property>
<item>
<property name="text">
<string>parent</string>
</property>
</item>
<item>
<property name="text">
<string>child</string>
</property>
</item>
<item>
<property name="text">
<string>both</string>
</property>
</item>
</widget>
</item>
<item row="3" column="4">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>564</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
+27 -14
View File
@@ -6,34 +6,47 @@
<rect>
<x>0</x>
<y>0</y>
<width>854</width>
<height>571</height>
<width>772</width>
<height>469</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">font-weight: bold;</string>
</property>
<property name="text">
<string>Variable/Register Info</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
</layout>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QDetachTabWidget" name="tabWidget">
<property name="currentIndex">
<number>-1</number>
</property>
</widget>
</item>
</layout>