Bogdan Verbenets
Bogdan Verbenets

Reputation: 26946

detach a debugger

How do you detach from a process in visual studio? I attach to the w3wp process and clicking on "stop debugging" kills the process :( . But I need to simply detach from it. How do I do that?

Upvotes: 2

Views: 1665

Answers (3)

Bogdan Verbenets
Bogdan Verbenets

Reputation: 26946

When I have "native, .net 4.0 and t-sql" options checked, then I can't use the "detach" button, but when I have "automatically detect" option enabled, then this button is enabled. If I attach to w3wp, then I see .net 4.0 and t-sql options enabled, if I attach to notepad.exe, then I see native code enabled. Probably trying to debug both native and .net 4.0 disables the "detach" button.

Upvotes: 3

Jurlie
Jurlie

Reputation: 1014

Debug->Stop Debugging (Shift-F5) also should work. VS will just detach from w3wp in that case.

Upvotes: -1

Tod
Tod

Reputation: 8242

Debug->Detach All should do the trick.

Upvotes: 1

Related Questions