VS2008 on Win7 64-Bit: Debugging a Windows Service

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2009-09-09T10:29:21Z Indexed on 2010/06/07 2:12 UTC
Read the original article Hit count: 395

Hi all,

I'm trying to debug a Windows Service using VS2008 on Win7 64-Bit. The problem I'm having is that none of my breakpoints are being hit, regardless of which build configuration I choose: x86, x64 or AnyCPU.

Using "Attach to Process" after the service has started, none of the breakpoints are hit - yet the IDE doesn't inform me that they won't be hit (by making the solid red circle and outline, for instance) - it simply seems to act as if the breakpoints weren't even there.

Can anyone point me in the right direction here?

Thanks

/Richard.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about visual-studio