0

I'm trying to create a shortcut/menu item for attaching a specific process to the debugger in Visual Studio 2013.

As I understood macros are no longer available from 2012 to do it.

I'm also not interested in doing it from the code using Debugger.Launch() method or through the registry like mentioned here: https://msdn.microsoft.com/en-us/library/a329t4ed(v=vs.100).aspx

I just want the user the have a menu item in VS that he can click on whenever he wants to attach the process to the debugger.

What options do I have?

I prefer to write something on my own, but if I must use a plugin, let it be.

Thanks

user3364652
  • 480
  • 8
  • 23
  • 1
    Im using [resurrect](https://marketplace.visualstudio.com/items?itemName=JaroslawWaliszko.Resurrect) and it it's great. – Koby Douek Jun 19 '17 at 10:58
  • I'm looking for something that will configure the VS in the first time the user opens the project. i.e user won't have to search manually for the process to attach even at the first time. – user3364652 Jun 19 '17 at 12:12

2 Answers2

0

You can try reattach, that allow attaching again to last debugged applications.

Ygalbel
  • 5,214
  • 1
  • 24
  • 32
  • I'm looking for something that will configure the VS in the first time the user opens the project. i.e user won't have to search manually for the process to attach even at the first time. – user3364652 Jun 19 '17 at 12:12
0

If so, I think one better suggestion is that reuse your existing Visual Studio macros in your current VS.

You could install the Visual Commander in your latest VS version.

https://marketplace.visualstudio.com/items?itemName=SergeyVlasov.VisualCommander

Reference:

Visual Studio - Attach to process shortcut

Jack Zhai
  • 6,230
  • 1
  • 12
  • 20