I
ink
Hi all,
I cant seem to debug my windows service on my Vista machine.
It seems it has something to do with 0 Session.
What I would normally do is add the following code to my OnStart() but it
does not work on Vista
#if DEBUG
System.Diagnostics.Debugger.Break();
//System.Diagnostics.Debugger.Launch();
#endif
I found this article but I am not sure this is what I am looking for.
http://blogs.msdn.com/cjacks/archive/2006/12/12/debugging-a-service-on-windows-vista.aspx
I have tried it and it seems for be awfully low level.
Can any one help with this.
Thanks,
ink
I cant seem to debug my windows service on my Vista machine.
It seems it has something to do with 0 Session.
What I would normally do is add the following code to my OnStart() but it
does not work on Vista
#if DEBUG
System.Diagnostics.Debugger.Break();
//System.Diagnostics.Debugger.Launch();
#endif
I found this article but I am not sure this is what I am looking for.
http://blogs.msdn.com/cjacks/archive/2006/12/12/debugging-a-service-on-windows-vista.aspx
I have tried it and it seems for be awfully low level.
Can any one help with this.
Thanks,
ink