开发者

What happened to the "Detach All" option in Visual Studio?

I'm used to using the "Detach All" function on the debug menu to allow me to go back to editing and compiling, with the intent of re-attaching later.

This menu option disappeared on me after I installed Windows 7 64-bit. I've heard from others that it didn't exist under 32-bit Vista, either.

For the record, the option appears when debugging console apps. So far, I've only noticed it missing on web applications.

Edit: So, if I debug just a simple web application with nothing else in it, t开发者_C百科he Detach All option is there. Need to find out what is different about the (multiple) projects I've been trying to debug that don't have it.


One thing that can prevent detaching from the process is mixed-mode debugging. I don't have much experience with web debugging, but if the debugger is attaching to the IIS process or something, it seems like the debugging mode could be related.

Anyway, is it possible that you're doing mixed-mode debugging (rather than native-only or managed-only) by accident?


You can add it

  1. Click the down arrow on the debug toolbar to select Add or Remove Buttons > Customize
  2. Click Add Command
  3. Select Debug from the right menu
  4. Select "Detach All" from the commands options on the right.


I have Detach All in my VS when I'm debugging a web application and I'm running Win 7 x64.

Are you sure it isn't a Web Site project? Maybe that would be the issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜