Add library load/unload catch points.

This commit is contained in:
Ernie Pasveer
2022-01-13 11:03:24 -06:00
parent ffca84a922
commit 384838e5b0
8 changed files with 61 additions and 631 deletions
+13 -1
View File
@@ -31,6 +31,12 @@ void SeerCatchpointCreateDialog::setType (const QString& text) {
}else if (text == "catch") {
catchRadioButton->setChecked(true);
}else if (text == "load") {
loadRadioButton->setChecked(true);
}else if (text == "unload") {
unloadRadioButton->setChecked(true);
}else{
throwRadioButton->setChecked(true);
}
@@ -47,6 +53,12 @@ QString SeerCatchpointCreateDialog::typeText () const {
}else if (catchRadioButton->isChecked()) {
return "catch";
}else if (loadRadioButton->isChecked()) {
return "load";
}else if (unloadRadioButton->isChecked()) {
return "unload";
}else{
return "throw";
}
@@ -88,7 +100,7 @@ QString SeerCatchpointCreateDialog::catchpointText () const {
if (nameEnabled()) {
if (nameText() != "") {
catchpointParameters += " -r " + nameText();
catchpointParameters += " " + nameText();
}
}