I have two C# WinForm projects in the same solution lets call them A and B. Project A starts Process B via a call like below
ProcessStartInfo psi = new Proce
Here is a solution I was shown...
Add a message box to the project you want to debug, Project B.
MessageBox.Show("pause");
Add a breakpoint some point after the message box code above, in Project B.
Run the code until the message box appears. message box image
Select Debug > Attach to Process
In the window that appears, select the name of the project you are executing and wish to step through, Project B. Click OK.
Click OK on the message box which was created by the message box code. message box image
You should now be at the breakpoint you placed sometime after the message box code in Project B!