Hi, You can debug the window services by attaching the debugger with the services. Follow the following procedure: 1) Install your window service. 2) Start the service 3) open your window service project. 4) select the DEBUG -> PROCESS this shows u the dialogbox with the list of service running in your system. Note that sometime service that u have starts not displayed in the dialogbox. It depends on the property of service process installer that u have set on which account that service will runs. 5) Click on attach 6) This starts debugging your service. If anybody any problem let me know KK
Dean Fiala <[EMAIL PROTECTED]> wrote: You can't use the IDE with a service. This is where old-fashioned debugging comes in handy. Write out errors or app state to a log file or the event log. Log4Net is very handy in this case. I also find it helpful to write the functional parts of a complicated service in their own assembly and test them from a console or windows app. Which allows me to use the IDE to debug. The service app itself is limited to the service-specific functionality. On 9/22/05, Krishnan <[EMAIL PROTECTED]> wrote: > > Hi, > > Is it possible to debug a windows service application. I have created on > windows service application and installed that exe using installutil. > While the service is running in the system i want to debug that service using > the IDE. > how to do ?? > > Regards, > Krishnan > > [Non-text portions of this message have been removed] > > > > > > > > Yahoo! Groups Links > > > > > > > -- Dean Fiala Very Practical Software, Inc http://www.vpsw.com SPONSORED LINKS Basic programming language Computer programming languages Programming languages Java programming language The history of computer programming language --------------------------------- YAHOO! GROUPS LINKS Visit your group "AspNetAnyQuestionIsOk" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- -------------------------------------------------------------------- Krishan Kant Chamoli Office: +91-172-2653886 AuthorGen Technology (P) Ltd., Fax: +91-172-5018485 24/3, Industrial Area, Phase - 2, Mobile: 9888263726 Chandigarh. INDIA. Pin - 160002. Email: [EMAIL PROTECTED] -------------------------------------------------------------------- Send instant messages to your online friends http://uk.messenger.yahoo.com [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
