Thank you for the response.. i don't really get what do you mean by
"symbol"..
i think the problem is the version of window service i'm running.. I have
built the window service once, and then i install it using "installutil",
and then i can debug the class, when the process is running.. but once i
built again the window service (after the change of code) (first i stop the
window service), and then start the window service again after rebuild,
vs.net can't debug the class, then i try to reinstall the window service
(using "installutil /u" and then install it again), vs.net now can debug the
class. I don't really understand the problem, but i think it's the problem
with the version of current process running.. Someone has a better
explanation.. please share.. thank you..
[quoted text, click to view] "Raj Rangarajan" <csharp@microsoft.com> wrote in message
news:NsR5ErmnDHA.2808@cpmsftngxa06.phx.gbl...
> To hit the breakpoint, you need to make sure the debugger finds symbols
for
> the binary in question and the code is run. If both these conditions are
> met, then the bp will hit.
>
> Did you make sure symbols are loaded?
>
> --------------------
> >From: "Vincent" <gunady_huang@hotmail.com>
> >Subject: The Breakpoint will not currently be hit. No executable code is
> currently loaded at this location.
> >Date: Wed, 29 Oct 2003 15:32:13 +0700
> >Lines: 17
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <OOMWbafnDHA.2776@tk2msftngp13.phx.gbl>
> >Newsgroups: microsoft.public.vsnet.debugging
> >NNTP-Posting-Host: 202.155.81.50
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.debugging:3969
> >X-Tomcat-NG: microsoft.public.vsnet.debugging
> >
> >I have multiple project in my solution. Let said one web application
> >project, one window service application, and multiple class project.
> >I have one class (ProcessCls) that is referenced to web application and
> >window service. (Web app and window service referenced to this class
> >(ProcessCls)).
> >I want to debug window service by attaching process, i have success
> >debugging class that side in window service itself, but when i put break
> >point in class that is in the ProcessCls, it shows question mark with
> >message "The Breakpoint will not currently be hit. No executable code is
> >currently loaded at this location.".
> >
> >what should i do to debug ProcessCls?? It seems that ProcessCls will be
> >debugged if the process is asp_netwp.exe not the windows service,
although
> i
> >have referenced this class to window services.
> >Thank you.. please help..
> >
> >
> >
>