Look at the condition. It is supposed to break only when the R2 is 40, but it breaks in any call to this instruction. I'm using IDA Pro 7.2.181105, debugging with Remote GDB Debugger, an ARMv4T code. I'm completely beginner with IDA Pro.
-
I got the same problem. Did you find a solution?– NotBigDealCommented Jan 26, 2022 at 0:27
-
Sorry friend, I did no found. Upvote the question so maybe someone answer it on the future. I give up on this project. Now instead I use GHIDRA btw.– MoonslateCommented Feb 12, 2022 at 2:36
Add a comment
|
1 Answer
You need to change the Actions from "Trace" to "Break" When the condition is true the action will execute.
-
Still the same issue changing breakpoint from trace to break. Commented Jan 9, 2020 at 17:29
-
-
are you using gdbserver, qemu, openOCD or something else as the "Gdb stub" ? I would check with gdb command you can set the conditional breakpoint i.e. break <location> if $r2 == 40. Commented Jan 20, 2020 at 8:06
-
In the
output window
, I selectGDB
and typebreak <location> if $r2 == 40
(changing <location> to the adress) and hit enter. The error is:<error sending command to monitor>
. I'm using mGBA to debug a GBA Advance game Commented Jan 20, 2020 at 15:51