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..
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
[quoted text clipped - 24 lines]
>have referenced this class to window services.
>Thank you.. please help..
Vincent - 30 Oct 2003 07:13 GMT
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..
> 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
[quoted text clipped - 35 lines]
> >have referenced this class to window services.
> >Thank you.. please help..