Solved

Debug program with windows service

Posted on 2016-08-01
1
21 Views
Last Modified: 2016-08-01
Hello,
I am using vb.net desktop to work on windows service.

The service is using my debug .exe.When i stop the service it prompts that the service need to be started by command parameter.The exe  when started it uses my debug folder exe which wont  allow me to build my soilution to debug .

Any suggestion?
0
Comment
Question by:RIAS
1 Comment
 
LVL 32

Accepted Solution

by:
Stefan Hoffmann earned 500 total points
Comment Utility
Well, only some generic advice:

Use proper OOP. This allows you to run your "service" code as normal program, especially in VS.

So you can use interactive debugging.

And for the rest: Use a logging framework.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now