简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM