87
edits
(→To debug child processes only: added note about MOZ_DEBUG_CHILD_PAUSE) |
(Add more info.) |
||
Line 68: | Line 68: | ||
You can attach to the newly launched child process with "gdb attach [PID]", or, for emacs gud-gdb, with M-x gdb, gdb --annotate 3 attach PID. | You can attach to the newly launched child process with "gdb attach [PID]", or, for emacs gud-gdb, with M-x gdb, gdb --annotate 3 attach PID. | ||
''(If you see error message "ptrace: Operation not permitted", try set /proc/sys/kernel/yama/ptrace_scope or /etc/sysctl.d/10-ptrace.conf from 1 to 0 like the error suggests)'' | |||
The same gdb session can be used to debug subsequent child processes. | The same gdb session can be used to debug subsequent child processes. |
edits