Debugging the windows service
-
Hai Everybody, Can any one please tell me how to debug the windows service even though i used the try catch block i couldn't find out the error point please give me solution to overcome this problem.
Best Regards, M. J. Jaya Chitra
-
Hai Everybody, Can any one please tell me how to debug the windows service even though i used the try catch block i couldn't find out the error point please give me solution to overcome this problem.
Best Regards, M. J. Jaya Chitra
:cool:Hi, Set the debugger in your code......... and then run your project...........use keys of F10 and F11... Nisar Inamdar Always For U.
-
Hai Everybody, Can any one please tell me how to debug the windows service even though i used the try catch block i couldn't find out the error point please give me solution to overcome this problem.
Best Regards, M. J. Jaya Chitra
When developing a windows service I'll normally make it as a self contained class library. I'll then develop most of it using a console frontend and only when I'm done transfer it into a windows service and test it in place. When you have to debug a windows service you can open a new Visual Studio and use Tools >> attach to process to attach the debugger.
-
Hai Everybody, Can any one please tell me how to debug the windows service even though i used the try catch block i couldn't find out the error point please give me solution to overcome this problem.
Best Regards, M. J. Jaya Chitra
-
This link tells how i can test the service but i want to debug the service
Best Regards, M. J. Jaya Chitra
-
When developing a windows service I'll normally make it as a self contained class library. I'll then develop most of it using a console frontend and only when I'm done transfer it into a windows service and test it in place. When you have to debug a windows service you can open a new Visual Studio and use Tools >> attach to process to attach the debugger.
Can you please give me a link how to perform debugging usign "Attach Process"
Best Regards, M. J. Jaya Chitra