Attach debugger onto another Visual Studio instance

99封情书 提交于 2019-11-28 02:05:30

Under Debug there is a item called Attach to Process. This will do exactly what you want it to do.

Use the Title column to tell which instance of devenv.exe you want to connect to (notice that I started the attach on BinaryFileSearch, but I am attaching to FixClientNoteRTF).

It does not let you attach to yourself because if you hit a breakepoint the UI would stop responding and how would you tell it to step or continue?

OK managed to solve it. What I was doing was when opening an instance of Visual studio, following the usual method, i.e. open a normal instance ( devenv.exe). What you have to is open a experiemental instance, using the parameters ( cmd line mode): /rootsuffix Exp

Then use the attach to debugger mode to attach to this instance.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!