Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow edb to follow child processes (forks) #659

pykler opened this Issue Jun 21, 2018 · 2 comments


None yet
3 participants
Copy link

pykler commented Jun 21, 2018

GDB allows for tracing through forks of a program. GDB has a flag:

  • "set detach-on-fork off" which attaches both processes in gdb.
  1. "set follow-fork-mode parent" (default) the parent process will be debugged and the child will be suspended,
  2. "set follow-fork-mode child" the child process will be debugged and the parent will be held suspended.

The following are links on how GDB handles forks and manages "inferiors".


This comment has been minimized.

Copy link

eteran commented Jun 22, 2018

I think this sounds like a useful feature. I'll start thinking about how this should work in edb from both a technical point of view and from a UI point of view. I think it will be important for this feature to be implemented in such a way that it is easy for users to understand what is going on and which process is currently "in focus".


This comment has been minimized.

Copy link

gsuberland commented Sep 19, 2018

+1 on this. I recently ran into something I needed to debug that used fork() heavily and the lack of this feature was a blocker for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.