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 / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Visual Studio 2005 The breakpoint will not currently be hit... PLEASE HELP.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RSH - 11 Sep 2007 23:03 GMT
I have a project that we have had in 2005 for a couple months now and
everything has been working fine.  Now today I open it up and get the latest
version from SourceSafe and I made a few changes to the codebehind and I
placed a few breakpoints in the codebehind but none of the breakpoints were
being hit.  Upon closer inspection i noticed that once I started running the
program in debug mode the normal breakpoint circle turned to a transparent
circle with the yellow exclaimation point and when i mouseover the symbol it
reads "The breakpoint will not currently be hit. The source code is
different from the original version. To allow the breakpoint to be hit when
the sourcecode is different..."

I have tried everything I can think of including deleting the contents of
the BIN folder, restarting, getting latest from SourceSafe... nothing is
working.

How do I fix this problem, I am on a deadline and I have never run into this
problem with any of our 14 sites.

Thanks!
Ron
Lit - 11 Sep 2007 23:10 GMT
in 2003 I use to solve similar issues by deleting  the VSWebCache\  content

Not sure is 2005 have similar folder etc..

Lit

>I have a project that we have had in 2005 for a couple months now and
>everything has been working fine.  Now today I open it up and get the
[quoted text clipped - 16 lines]
> Thanks!
> Ron
RSH - 12 Sep 2007 13:15 GMT
Thanks for the reply.  I deleted all items in the VSWebCache folder, no
change I still get the error.

Ron

> in 2003 I use to solve similar issues by deleting  the VSWebCache\
> content
[quoted text clipped - 23 lines]
>> Thanks!
>> Ron
Larry Bud - 12 Sep 2007 13:25 GMT
> Thanks for the reply.  I deleted all items in the VSWebCache folder, no
> change I still get the error.
[quoted text clipped - 25 lines]
> >> How do I fix this problem, I am on a deadline and I have never run into
> >> this problem with any of our 14 sites.

Are you sure you're not compiled for a "release" version instead of
debugging?

Go to the BUILD menu, Configuration Manager, and look at the dropdown
for "Active Solution Configuration".
Rory Becker - 12 Sep 2007 13:49 GMT
Not sure if this will help, but in VS2003 there was an issue wherein, if
your solution had a project which had no compilable code in it then debugger
would fail to allow breakpoints to function in any project.

Not sure if this was ever fixed.

If you can find a project in your solution which only has html files in it
the try adding a dummy class to that project and recompile.

--
Rory

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.