MPI debugging with lldb attaching a process
I'm launching lldb with mpi in the following way
`mpirun -np 4 xterm -e lldb ./GenerateCSCS`.
Following this I proceed to attach one of the processes to lldb:

but I get the message:
unable to attach
Debugger detached
Please sign in to leave a comment.
Hi, Leonardo! Could you please launch your openMPI application (without -e lldb) and try attaching to this process with LLDB from CLion? Does it work?
Yes is works! After doing the following:
1. Add these lines before breakpoint and rebuild the application (from OpenMPI)
2. Launch your program from the terminal with `mpirun`
3. Attach LLDB to a local process (Run-> Attach to Process)
4. Pause Program (the program will pause on `sleep(5)`)
5. Set `i!=0` and Resume Program
6. Happy debugging
Is there anyway to control the processes that are not attached?
>Is there anyway to control the processes that are not attached?
Do you mean that you want to control from CLion the processes which were launched outside CLion and to which you didn't attach in CLion? What do you want to do with them?