Can I use VS2010's Intellitrace to gather data for a Windows Service?

Posted by rwmnau on Stack Overflow See other posts from Stack Overflow or by rwmnau
Published on 2010-05-26T17:15:29Z Indexed on 2010/06/09 3:02 UTC
Read the original article Hit count: 320

I have a Windows service that I'd like to gather some debugging data on using Intellitrace - the problem is that you can't debug a Windows Service by starting it directly from inside VS. I have the service installed, and the very first statement in Service.Start is "Debug.Break", which allows me to attach VS. However, you can't use Intellitrace if a process is already started when you attach.

Does anybody know of a workaround for this?

© Stack Overflow or respective owner

Related posts about debugging

Related posts about visual-studio-2010