Tutorial :Debugging a Process.Start()'ed application


I have a C# class library (which is an AutoCAD .net application) and a console application.

Somewhere in the class library, it starts the console application using Process.Start()

I have both of these projects with the same solution, I have set the class library as the startup project (to launch AutoCAD). I can debug the class library, but not the console application.

How can I debug the console application given this configuration?


You need to use the Debug->Attach To Process option in Visual Studio.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »