Hello all,
We have a C++ Win32 application which spawns, using Qt's QProcess (undoubtedly a wrapper for CreateProcess()), a secondary 'slave' program.
Unfortunately, when debugging the system with Visual Studio 2008, the debugger does not autoamtically attach to the spawned process.
I know it's possible to programatically trigger a debugger breakpoint with __debugbreak() but what I would to know if it's possible for the slave program to throw up the 'Choose a Program to Debug This' window immediately on startup since at the moment we have to race to manually attach to the new process.
Many thanks, L