Windows Vista Beta | WinVistaBeta.com - Message | attach to process with F5

November 20, 2008  
Subject: attach to process with F5
Group: microsoft.public.vstudio.general
Date: 8/29/2008 2:22:06 AM
From: "Anonymous" [Email Address Protection]

Can F5 (start debug) be made to attach to a process?

I want to specify the process by name, I can accept problems if the name is
ambiguous, which it isn't in this case, my own windows service should
prevent multiple instances with a mutex.

/ Per



Back
Subject: Re: attach to process with F5
Group: microsoft.public.vstudio.general
Date: 8/29/2008 2:45:32 PM
From: "Mark Salsbery [MVP]" [Email Address Protection]

"Anonymous" <billg@microsoft.com> wrote in message
news:uRfv1ibCJHA.1224@TK2MSFTNGP02.phx.gbl...
> Can F5 (start debug) be made to attach to a process?


Good idea - I spend a lot of time attaching to a specific process. :)

Googling "visual studio macro attach to process" yielded a few ideas, like
this one:

http://blog.lavablast.com/post/2008/01/Attach-to-Process-with-one-shortcut.aspx

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++


>
> I want to specify the process by name, I can accept problems if the name
> is ambiguous, which it isn't in this case, my own windows service should
> prevent multiple instances with a mutex.
>
> / Per
>
>

Back