Can Visual Studio be made to debug child processes like WinDBG?

后端 未结 2 396
广开言路
广开言路 2020-12-02 18:35

This is similar to this question, but I wanted to flesh it out a bit. (I\'m new here, if I should instead do a \"bump\" answer on the previous question instead, please let

相关标签:
2条回答
  • 2020-12-02 18:58

    Not possible (AFAIK, any many others...) but you have several workarounds:

    1. Use this macro, it comes from the Chrome team which need to deal with a lot of child processes debugging.
    2. Put your child process on Image Execution Options so that they will automatclly open in a debugger. Then select the current active instance of Visual Studio.
    0 讨论(0)
  • 2020-12-02 19:11

    There is now a power tool that lets you attach to child process: Introducing The Child Process Debugging Power Tool

    0 讨论(0)
提交回复
热议问题