eclipse 调试子进程
under the directory of the project, create file .gdbinit
write the "set follow-fork-mode child"
then you can debug the child process
under the directory of the project, create file .gdbinit
write the "set follow-fork-mode child"
then you can debug the child process