Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Debug program with windows service

Posted on 2016-08-01
1
Medium Priority
?
47 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 36

Accepted Solution

by:
ste5an earned 2000 total points
ID: 41738122
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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
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…
Loops Section Overview
Suggested Courses

810 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