From b9550e42190de9454d48ffb6b58b6bd6b8c95aa1 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Tue, 31 Dec 2024 17:42:13 -0800 Subject: [PATCH] memoryBreak fix --- IDE/src/IDEApp.bf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index be1879c9..c96a2c39 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -13971,9 +13971,11 @@ namespace IDE if (checkBreakpoint.mMemoryAddress == memoryAddress) breakpoint = checkBreakpoint; } - String infoString = scope String()..AppendF("Memory breakpoint hit: '0x{0:X08}'", (int64)memoryAddress); + String infoString = scope .(); if (breakpoint != null) - infoString = scope String()..AppendF("Memory breakpoint hit: '0x{0:X08}' ({1})", (int64)memoryAddress, breakpoint.mMemoryWatchExpression); + infoString.AppendF("Memory breakpoint hit: '0x{0:X08}' ({1})", (int64)memoryAddress, breakpoint.mMemoryWatchExpression); + else + infoString.AppendF("Memory breakpoint hit: '0x{0:X08}'", (int64)memoryAddress); OutputLine(infoString); if (!mRunningTestScript) {