Two Methods:
- Add sleep in the entry of main loop
- With GDB command:
set follow-fork-mode mode (parent/child)
set detach-on-fork mode (on/off)
Two Methods:
set follow-fork-mode mode (parent/child)
set detach-on-fork mode (on/off)