Fire Lancer
Fire Lancer

Reputation: 30105

Attach child process to debugger automatically

If the main process is currently being debugged in Visual Studio, how can I have it so any new processes it spawns are also attached to the same instance of Visual Studio as the main process is?

Currently the new processes are created just with a CreateProcess call, however I can add extra code or use a different API altogether if needed, as well as making changes to the project or solution configurations (each process has its own project in a single solution).

Upvotes: 18

Views: 7796

Answers (1)

Marian Spanik
Marian Spanik

Reputation: 1109

I know I am few years late here but Visual Studio 2013 should support this after installing an extension: https://visualstudiogallery.msdn.microsoft.com/a1141bff-463f-465f-9b6d-d29b7b503d7a

Upvotes: 14

Related Questions