Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / October 2003

Tip: Looking for answers? Try searching our database.

The Breakpoint will not currently be hit. No executable code is currently loaded at this location.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vincent - 29 Oct 2003 09:32 GMT
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..
Raj Rangarajan - 29 Oct 2003 23:19 GMT
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..

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.