in reply to
Debugging Perl scripts which use fork()
Has anyone tried debugging fork process usings emacs perldb debugger? I tried using the above xterm method discussed in the article, I was able to successfully create an xterm for each child process but I can't view the source code from the child window with debugger commands, such as 'l'ine command. I can issue 'n'ext and 's'tep from the child and see its output in the parent window. But its not helpful if I can't easily tell where i am in the source code for the child. Any idea what is wrong?
What I would really like is to be able to fork another emacs debugger process with debugger command and source code window for each child similar to the parent.
Any help would be greatly appreciated