I have two C # WinForm projects in the same solution that let you call them A and B. Project A starts process B when called, as shown below
ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = Task.EXEFilename; psi.WorkingDirectory = Path.GetDirectoryName(Data.EXEFilename); Process.Start(psi);
Process B starts correctly. I wanted to debug process B while I debug A. I thought that putting a breakpoint in B would be enough, but it never gets there. I checked that the process started is in the bin / debug folder of B. Should I not connect to the process in this case to switch debugging from A to B?
source share