diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d581fe..b3aac3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [2.6beta] - 2025-XX-XX * Starting version 2.6 development cycle. +* Fixed regression when adding commands to a watchpoint. ## [2.5] - 2024-12-24 * Console now supports a subset of ANSI color codes. diff --git a/src/SeerWatchpointsBrowserWidget.cpp b/src/SeerWatchpointsBrowserWidget.cpp index 33dde89..486ca4e 100644 --- a/src/SeerWatchpointsBrowserWidget.cpp +++ b/src/SeerWatchpointsBrowserWidget.cpp @@ -150,7 +150,7 @@ void SeerWatchpointsBrowserWidget::handleText (const QString& text) { QString cond_text = Seer::parseFirst(bkpt_text, "cond=", '"', '"', false); QString times_text = Seer::parseFirst(bkpt_text, "times=", '"', '"', false); QString ignore_text = Seer::parseFirst(bkpt_text, "ignore=", '"', '"', false); - QString script_text = Seer::parseFirst(bkpt_text, "script=", '{', '}', false); + QString script_text = Seer::parseFirst(bkpt_text, "script=", '[', ']', false); QString original_location_text = Seer::parseFirst(bkpt_text, "original-location=", '"', '"', false); // Only look for 'watchpoint' type break points.