From 4a686571c3b64ac0d08b14dface3df8b1d5fef20 Mon Sep 17 00:00:00 2001 From: Ernie Pasveer Date: Sat, 4 Jan 2025 08:53:57 -0600 Subject: [PATCH] Fixed commands with a watchpoint. --- CHANGELOG.md | 1 + src/SeerWatchpointsBrowserWidget.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d581feb..b3aac3ad 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 33dde89f..486ca4e6 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.