Automate “Attach to Process” in VS2005/2008

I was wondering if anyone knew of a macro or keyboard shortcut or anything really that would automate Attaching to a Process within visual studio?

Answers


System.Diagnostics.Debugger.Break()

"If no debugger is attached, users are asked if they want to attach a debugger. If yes, the debugger is started. If a debugger is attached, the debugger is signaled with a user breakpoint event, and the debugger suspends execution of the process just as if a debugger breakpoint had been hit."

-- http://msdn.microsoft.com/en-us/library/system.diagnostics.debugger.break.aspx


CTRL + ALT + P brings up the dialog box. Then hit the first letter of the process you want to attach to, e.g. W for w3wp.exe


Need Your Help

How to join multiple mp3s into one downloadable mp3 file in Flash AS3?

actionscript-3 flash mp3

I have a couple of short mp3 files that the user can reorganize on a timeline. After that, I want to save the result as one mp3 file, combining six short ones.

Using “link_to” inside other HTML tags

html css ruby-on-rails ruby

I'm using Bootstrap 3 and I can do most links, but have problems when the "link_to" function is contained in something else.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.