There is a program (a WPF app written in C#) that calls the other program ( commandline program written in C++) . They both are in the same solution. At some points, the caller gets some stuff done by using the other program by using the methodology provided in System.Diagnostics.Process
. I want to debug the both programs while testing this project. How to do that? is there some easy method like "attaching" which we do to libraries?
--EDIT--
Process A starts the process B. Then A waits until process B exits. Furthermore, B something very small like dir
on the command prompt which exits quickly.