Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

219 speed up some things #221

Merged
merged 2 commits into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/SeerGdbWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1854,8 +1854,6 @@ void SeerGdbWidget::handleGdbExecutableWorkingDirectory () {
return;
}

qDebug() << executableWorkingDirectory();

if (executableWorkingDirectory() != "") {
handleGdbCommand(QString("-environment-cd \"") + executableWorkingDirectory() + "\"");
}
Expand Down
9 changes: 5 additions & 4 deletions src/SeerStackArgumentsBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
6 changes: 6 additions & 0 deletions src/SeerStackFramesBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
9 changes: 5 additions & 4 deletions src/SeerStackLocalsBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
9 changes: 5 additions & 4 deletions src/SeerThreadFramesBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
11 changes: 6 additions & 5 deletions src/SeerThreadIdsBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand All @@ -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();
}

Expand Down
Loading