UPO33
UPO33

Reputation: 29

C++ Attaching Visual Studio debugger from command line

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

Answers (1)

3CxEZiVlQ
3CxEZiVlQ

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

Related Questions