Reputation: 57
For my debugging I have to attach to many process instances:
Rather than having to Ctrl-select all of them and then click "Attach", is there some sort of template I can define that will say?:
Upvotes: 0
Views: 246
Reputation: 27890
You can use my Visual Commander extension to automate it with code like:
foreach(Process proc in DTE.Debugger.LocalProcesses)
{
if(proc.Name.ToString().EndsWith("foo.exe"))
{
proc.Attach();
}
}
See Attach to specific Process shortcut in Visual Studio for more details.
Upvotes: 1