debugger
debugger copied to clipboard
Breakpoint added before starting debugging does not work when using lldb to connect to a gdbserver
Repro steps:
- Download https://crackmes.one/crackme/66b5fa2c90c4c2830c821d0a to a Linux machine
- Run
gdbserver 0.0.0.0:31337 -- ./crackme666adv - Open the file in bina (on macOS)
- Put a breakpoint somewhere in
mainfunction - Debugger - Connect to remote process
- Input the IP address and connect to it
- Run the target until it breaks at the entry point
- Resume the target and notice it runs on its own rather than breaking at the breakpoint
Combined with https://github.com/Vector35/debugger/issues/610 I think it is very challenging to use lldb to connect to a gdbserver, we still need to have first-party GDB support as in #170 to make it even usable