Klocman
Klocman

Reputation: 462

How to debug chained executables in Visual Studio solution

I have two projects in VS2015. The executable from start up project at some point needs to open the output executable from the second project. (by using Process.Start)

How can I debug the second executable as well as the main one? Can VS include the second executable in the output directory and setup debugging automatically?

Upvotes: 0

Views: 138

Answers (1)

cremor
cremor

Reputation: 6875

Either attach the debugger manually after the second process started (using Debug -> Attach to process) or use the Microsoft Child Process Debugging Power Tool

Upvotes: 1

Related Questions