I am using radare2 in debugging mode (r2 -d ./program).
I set up a breakpoint at a certain address (
And next I have entered Visual View using:
Following some tutorials, I saw them using '
s' to switch to the next instruction, but that isn't working for me.
Also this is not working:
Maybe a simpler method to use debugger in radare is to switch it to visual mode. That way you will not have to remember many commands nor to keep program state in your mind. To enter visual mode use
The initial view after entering visual mode is a hexdump view of current target program counter (e.g., EIP for x86). Pressing
pwill allow you to cycle through the rest of visual mode views. You can press
Pto rotate through the most commonly used print modes. Use F7 or s to step into and F8 or
Sto step over current instruction. With the
ckey you can toggle the cursor mode to mark a byte range selection (for example, to later overwrite them with
nop). You can set breakpoints with F2 key.
Any key I would press does nothing. Am I missing something or?
I am talking about this view.