Advertisement

11.05.2007 at 02:31PM PST, ID: 22940485 | Points: 500
[x]
Attachment Details

Can't attach to service VB.NET to debug

Asked by GlennHolden in Management & Debugging Software, Visual Studio, .NET Framework 2.x

Tags: , ,

I am trying to debug a windows service application.  I have compiled it and can launch the service fine.  But from within the VS from the service project, when I try to Attach to Process, the process for this program is greyed out.  If I launch a new copy of VS then I can attach to it, but it doesn't load the whole project so I can't put break points where I want.

Background:  This VS Solution contains three projects.  A DLL with all the core program logic, A console program, and a service program, each calling the DLL code.  The DLL code employs a background worker to do it's job in another thread.  

My service version is periodially crashing on site and I'm trying to reproduce the problem.  Seems to be related to writing to the log file.  Start Free Trial
[+][-]11.06.2007 at 12:24PM PST, ID: 20227287

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.16.2008 at 11:45PM PDT, ID: 21800344

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628