From 4e6e5100031ad6d52207f0ca9c276e695c5e784b Mon Sep 17 00:00:00 2001 From: Seeky <58006653+SeekyCt@users.noreply.github.com> Date: Sun, 1 Jan 2023 17:42:22 +0000 Subject: Debugger: Add string comparison to conditional breakpoints. --- Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp') diff --git a/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp b/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp index f3472beeee..78611f7d45 100644 --- a/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp +++ b/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp @@ -337,6 +337,7 @@ void BreakpointDialog::ShowConditionHelp() "Set a register: r1 = 8\n" "Casts: s8(0xff). Available: s8, u8, s16, u16, s32, u32\n" "Callstack: callstack(0x80123456), callstack(\"anim\")\n" + "Compare Strings: streq(r3, \"abc\"). Both parameters can be addresses or string constants.\n" "Read Memory: read_u32(0x80000000). Available: u8, s8, u16, s16, u32, s32, f32, f64\n" "Write Memory: write_u32(r3, 0x80000000). Available: u8, u16, u32, f32, f64\n" "*currently writing will always be triggered\n" @@ -355,8 +356,8 @@ void BreakpointDialog::ShowConditionHelp() "Write and break: r4 = 8, 1\n" "Write and continue: f3 = f1 + f2, 0\n" "The condition must always be last\n\n" - "Strings should only be used in callstack() and \"quoted\". Do not assign strings to a " - "variable.\n" + "Strings should only be used in callstack() or streq() and \"quoted\". Do not assign strings " + "to a variable.\n" "All variables will be printed in the Memory Interface log, if there's a hit or a NaN " "result. To check for issues, assign a variable to your equation, so it can be printed.\n\n" "Note: All values are internally converted to Doubles for calculations. It's possible for " -- cgit v1.2.3