-
I'm on a Macbook Pro M1 Max with MacOS Monterey 12.3.1. I am trying to debug a simple binary but for some reason, r2 is unable to stop at my breakpoint. I have verified I have no old installations of radare2 on my system, then installed it with:
The signature looks like this:
I have rebooted in recovery mode and disabled SIP (I have tried both The source code to the binary I am trying to debug is
I am trying to set a breakpoint at the main function but it never stops:
I have tried to start r2 with " If I run the same binary in lldb, it works:
Does anyone have any idea why r2 is not stopping at my breakpoint? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It seems like its trying to set a hardware breakpoint. You can try "dcu main" or dbg.hwbp=false |
Beta Was this translation helpful? Give feedback.
-
Maybe worth fixing that so it works with default settings, would you like to give it a try? |
Beta Was this translation helpful? Give feedback.
It seems like its trying to set a hardware breakpoint. You can try "dcu main" or dbg.hwbp=false