1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

memoryBreak fix

This commit is contained in:
Brian Fiete 2024-12-31 17:42:13 -08:00
parent 316e3f345f
commit b9550e4219

View file

@ -13971,9 +13971,11 @@ namespace IDE
if (checkBreakpoint.mMemoryAddress == memoryAddress) if (checkBreakpoint.mMemoryAddress == memoryAddress)
breakpoint = checkBreakpoint; breakpoint = checkBreakpoint;
} }
String infoString = scope String()..AppendF("Memory breakpoint hit: '0x{0:X08}'", (int64)memoryAddress); String infoString = scope .();
if (breakpoint != null) 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); OutputLine(infoString);
if (!mRunningTestScript) if (!mRunningTestScript)
{ {