0

I have two Windows console programs, one was developed in C++ VS2003 and the other one in C# VS2010. The C++ program calls the C# program.

I'd like to debug both using two Visual Studios without having to stop in the middle of 1st program, then copy the parameters of 2nd program, and then use them to run the 2nd program separately. Is it possible to link the two to make the debugging process flow seamlessly?

Thanks for your help!

M.Ridha
  • 483
  • 1
  • 6
  • 21
  • Not really. You could call Debugger.Launch() in the Main() method of your C# program. – Hans Passant Oct 16 '12 at 23:32
  • "The C++ program calls the C# program." How is this done? Process invoke? or consuming APIs like dll? – Ankush Oct 16 '12 at 23:48
  • Not to point out the potentially obvious, but you *can* debug both processes from the *same* Visual Studio concurrently if you desire. – WhozCraig Oct 17 '12 at 00:55
  • #Hans: Thanks for the pointer. I'll try it. #Ankush: The C# program is executed as a separate process from C++ program. #WhozCraig: I didn't know that. Do you have any link to the information regarding how to set it up? Thanks. – M.Ridha Oct 18 '12 at 15:27

0 Answers0