Reputation: 29
is there any way to attach visual studio debugger to a C++ program by command line. I know I could use 'Debug/Attach To Process' but it dosent't help me in this case, since I have lots of process launched by the main process.
Upvotes: 1
Views: 1226
Reputation: 38415
From Attach to running processes with the Visual Studio debugger
If neither of those workarounds is possible, a third option is to attach to the process by running vsjitdebugger.exe -p <ProcessId>
from the Windows command line.
Upvotes: 2