DEV Community

Discussion on: Setup gdb on macOS in 2020

Collapse
 
dnsmichi profile image
Michael Friedrich

If your application forks child processes, gdb supports following the forks. lldb unfortunately does not, and you have to workaround this with debug code to delay the child startup and re-attach to the PID. More here: stackoverflow.com/questions/147463...