Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Attach to process shortcut

When I want to debug I have to do Debug->Attach to Process -> Look for a process in the list -> Attach.

I was wondering if I can create some kind of a shortcut to do this for me?

like image 500
dev.e.loper Avatar asked Jul 14 '11 16:07

dev.e.loper


People also ask

What is attach to process Visual Studio?

You can use Attach to Process to debug running apps on local or remote computers, debug multiple processes simultaneously, debug apps that weren't created in Visual Studio, or debug any app you didn't start from Visual Studio with the debugger attached.

What is Ctrl F5 in Visual Studio?

F5 is used to start your project in debug mode and Ctrl-F5 is used to start your project without debug mode.

How do I attach Visual Studio to a process that is not started yet?

Add the free Reattach Extension for Visual Studio. Ask it to reattach to the process name before it is launched. It will pop a modal dialog saying it is waiting for the process name to launch. Now launch the process and the Visual Studio debugger will attach immediately, catching exceptions and hitting breakpoints.


1 Answers

The shortcut is Ctrl+Alt+P in Visual Studio 2005 and above.

like image 143
Rajesh Avatar answered Sep 17 '22 14:09

Rajesh