diff --git a/src/SeerGdbWidget.cpp b/src/SeerGdbWidget.cpp index c9984009..0960a4a2 100644 --- a/src/SeerGdbWidget.cpp +++ b/src/SeerGdbWidget.cpp @@ -1854,8 +1854,6 @@ void SeerGdbWidget::handleGdbExecutableWorkingDirectory () { return; } - qDebug() << executableWorkingDirectory(); - if (executableWorkingDirectory() != "") { handleGdbCommand(QString("-environment-cd \"") + executableWorkingDirectory() + "\""); } diff --git a/src/SeerStackArgumentsBrowserWidget.cpp b/src/SeerStackArgumentsBrowserWidget.cpp index 8d4fcdca..899509b8 100644 --- a/src/SeerStackArgumentsBrowserWidget.cpp +++ b/src/SeerStackArgumentsBrowserWidget.cpp @@ -151,15 +151,16 @@ void SeerStackArgumentsBrowserWidget::handleText (const QString& text) { void SeerStackArgumentsBrowserWidget::handleStoppingPointReached () { + refresh(); +} + +void SeerStackArgumentsBrowserWidget::refresh () { + // Don't do any work if the widget is hidden. if (isHidden()) { return; } - refresh(); -} - -void SeerStackArgumentsBrowserWidget::refresh () { emit refreshStackArguments(); } diff --git a/src/SeerStackFramesBrowserWidget.cpp b/src/SeerStackFramesBrowserWidget.cpp index 763690c5..401c0e36 100644 --- a/src/SeerStackFramesBrowserWidget.cpp +++ b/src/SeerStackFramesBrowserWidget.cpp @@ -161,6 +161,12 @@ void SeerStackFramesBrowserWidget::handleStoppingPointReached () { } void SeerStackFramesBrowserWidget::refresh () { + + // Don't do any work if the widget is hidden. + if (isHidden()) { + return; + } + emit refreshStackFrames(); } diff --git a/src/SeerStackLocalsBrowserWidget.cpp b/src/SeerStackLocalsBrowserWidget.cpp index 767d4ba5..6cc91d6a 100644 --- a/src/SeerStackLocalsBrowserWidget.cpp +++ b/src/SeerStackLocalsBrowserWidget.cpp @@ -123,15 +123,16 @@ void SeerStackLocalsBrowserWidget::handleText (const QString& text) { void SeerStackLocalsBrowserWidget::handleStoppingPointReached () { + refresh(); +} + +void SeerStackLocalsBrowserWidget::refresh () { + // Don't do any work if the widget is hidden. if (isHidden()) { return; } - refresh(); -} - -void SeerStackLocalsBrowserWidget::refresh () { emit refreshStackLocals(); } diff --git a/src/SeerThreadFramesBrowserWidget.cpp b/src/SeerThreadFramesBrowserWidget.cpp index e175ea52..822f33cd 100644 --- a/src/SeerThreadFramesBrowserWidget.cpp +++ b/src/SeerThreadFramesBrowserWidget.cpp @@ -197,15 +197,16 @@ void SeerThreadFramesBrowserWidget::handleText (const QString& text) { void SeerThreadFramesBrowserWidget::handleStoppingPointReached () { + refresh(); +} + +void SeerThreadFramesBrowserWidget::refresh () { + // Don't do any work if the widget is hidden. if (isHidden()) { return; } - refresh(); -} - -void SeerThreadFramesBrowserWidget::refresh () { emit refreshThreadIds(); emit refreshThreadFrames(); } diff --git a/src/SeerThreadIdsBrowserWidget.cpp b/src/SeerThreadIdsBrowserWidget.cpp index 3e746fe6..91a8b00f 100644 --- a/src/SeerThreadIdsBrowserWidget.cpp +++ b/src/SeerThreadIdsBrowserWidget.cpp @@ -100,11 +100,6 @@ void SeerThreadIdsBrowserWidget::handleText (const QString& text) { void SeerThreadIdsBrowserWidget::handleStoppingPointReached () { - // Don't do any work if the widget is hidden. - if (isHidden()) { - return; - } - refresh(); } @@ -116,6 +111,12 @@ void SeerThreadIdsBrowserWidget::handleItemClicked (QTreeWidgetItem* item, int c } void SeerThreadIdsBrowserWidget::refresh () { + + // Don't do any work if the widget is hidden. + if (isHidden()) { + return; + } + emit refreshThreadIds(); }