summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp
diff options
context:
space:
mode:
authorTryTwo <taolas@gmail.com>2022-12-03 01:17:36 -0700
committerTryTwo <taolas@gmail.com>2022-12-03 20:52:17 -0700
commit76bf1b5f7d77323a407de90b3714208771901e88 (patch)
tree2344b332e484a41ff58f7d5f28c2013fd787d09b /Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp
parent7cd9a78ebf6e49b21a5a5eee99858822a8946faa (diff)
Add callstack to conditional breakpoints. Checks entire stack for value.
Use: callstack(0x80000000). !callstack(value) works as a 'does not contain'. Add strings to expr.h conditionals. Use quotations: callstack("anim") to check symbols/name.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp b/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp
index 91dff3baf5..6c9edd54c4 100644
--- a/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp
+++ b/Source/Core/DolphinQt/Debugger/BreakpointDialog.cpp
@@ -324,6 +324,7 @@ void BreakpointDialog::ShowConditionHelp()
"Functions:\n"
"Set a register: r1 = 8\n"
"Casts: s8(0xff). Available: s8, u8, s16, u16, s32, u32\n"
+ "Callstack: callstack(0x80123456), callstack(\"anim\")\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"
@@ -342,6 +343,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"
"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 "