Groups | Blog | Home
all groups > visual studio .net debugging > october 2003 >

visual studio .net debugging : The Breakpoint will not currently be hit. No executable code is currently loaded at this location.


Vincent
10/29/2003 3:32:13 PM
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..

csharp NO[at]SPAM microsoft.com
10/29/2003 10:19:43 PM
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?

--------------------
[quoted text, click to view]
Vincent
10/30/2003 1:13:27 PM
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]

AddThis Social Bookmark Button