473,811 Members | 3,485 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The breakpoint will not currently be hit. Compiler error help.

Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going on
here. I only have the code in one location, so I'm not sure why I'd get a
message like this. Thanks for any suggestions.
Michael Lee

Feb 13 '07 #1
7 7508
This happens when the compiled code doesn't match the source code.
Something in the code changed just prior to executing it. Try just
rebuilding the app and then run it in debug mode.

T

Michael wrote:
Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going on
here. I only have the code in one location, so I'm not sure why I'd get a
message like this. Thanks for any suggestions.
Michael Lee

Feb 13 '07 #2
DOTNET doesn't support debugging; well at least not edit and continue


On Feb 13, 1:26 pm, tomb <t...@technetce nter.comwrote:
This happens when the compiled code doesn't match the source code.
Something in the code changed just prior to executing it. Try just
rebuilding the app and then run it in debug mode.

T

Michael wrote:
Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going on
here. I only have the code in one location, so I'm not sure why I'd get a
message like this. Thanks for any suggestions.
Michael Lee- Hide quoted text -

- Show quoted text -

Feb 14 '07 #3
..Net 2.0/VS2005 does.

Robin S.
------------------------
"Larry Linson" <la***********@ hotmail.comwrot e in message
news:11******** **************@ v45g2000cwv.goo glegroups.com.. .
DOTNET doesn't support debugging; well at least not edit and continue


On Feb 13, 1:26 pm, tomb <t...@technetce nter.comwrote:
>This happens when the compiled code doesn't match the source code.
Something in the code changed just prior to executing it. Try just
rebuilding the app and then run it in debug mode.

T

Michael wrote:
Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is
different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going
on
here. I only have the code in one location, so I'm not sure why I'd
get a
message like this. Thanks for any suggestions.
Michael Lee- Hide quoted text -

- Show quoted text -


Feb 14 '07 #4
Robin

if I want your opinion; I would find a bloody fucking tampon; smear it
on the wall and scribble some code in crayon

sound good bitch?



On Feb 13, 10:14 pm, "RobinS" <Rob...@NoSpam. yah.nonewrote:
.Net 2.0/VS2005 does.

Robin S.
------------------------"Larry Linson" <larrylinso...@ hotmail.comwrot e in message

news:11******** **************@ v45g2000cwv.goo glegroups.com.. .
DOTNET doesn't support debugging; well at least not edit and continue
On Feb 13, 1:26 pm, tomb <t...@technetce nter.comwrote:
This happens when the compiled code doesn't match the source code.
Something in the code changed just prior to executing it. Try just
rebuilding the app and then run it in debug mode.
T
Michael wrote:
Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is
different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going
on
here. I only have the code in one location, so I'm not sure why I'd
get a
message like this. Thanks for any suggestions.
Michael Lee- Hide quoted text -
- Show quoted text -- Hide quoted text -

- Show quoted text -

Feb 14 '07 #5
Hi Tomb,
Thanks for the reply. I have a question for you. I just installed Visual
SourceSafe 2005. Could this be the cause of the problem. So far this is the
only project I have that gives me this error. If it is Sourcesafe, then is
there a special way to setup Sourcesafe with Visual Studio 2005 and 2003.
Thanks
Michael
"tomb" wrote:
This happens when the compiled code doesn't match the source code.
Something in the code changed just prior to executing it. Try just
rebuilding the app and then run it in debug mode.

T

Michael wrote:
Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going on
here. I only have the code in one location, so I'm not sure why I'd get a
message like this. Thanks for any suggestions.
Michael Lee
Feb 14 '07 #6
Hi Everyone,
I got the error partly taken care of, but the error message just changed.
What I did do was remove the project from Sourcesafe and removed all the
sourcesafe files from the projects. That includes any reference to sourcesafe
even in the Project files and the solution file.
The breakpoint error is:
""The breakpoint will not currently be hit. No symbols have been loaded for
this document"
I also want to descibe how I have the project layed out, maybe this problem
will make more since.
The project is devided into a few projects. I have the following projects:
IntTreatPlan - a dll add-in to gather and print a word doc.
TreatReview - a dll add-in to gather and print a word doc.
PluginSDK - a dll that contains the logic to manage add-ins in my program.
MyDocs - The main application.

I have the compile option set to "bin\Releas e\". Thats what it defaulted to
even though I put it in the debug more. I changed the output path in all the
other projects to MyDocs "bin\Releas e\", so that main project could see the
dlls of the other projects. (If I should not do this, please let me know of a
better way)
I have also made sure that the Generate Debug info option to Full is set for
every project. I also checked "Define Debug constant" although I didn't think
that this would solve the problem. Thanks
Michael

"Michael" wrote:
Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going on
here. I only have the code in one location, so I'm not sure why I'd get a
message like this. Thanks for any suggestions.
Michael Lee
Feb 14 '07 #7
I did some more testing and it seems as if only two of the projects are
having this problem:
IntTreatPlan - a dll add-in to gather and print a word doc.
TreatReview - a dll add-in to gather and print a word doc.
The other projects I can set a breakpoint and have it stop on the spot. Hope
this may help.
Michael
"Michael" wrote:
Hi Everyone,
I got the error partly taken care of, but the error message just changed.
What I did do was remove the project from Sourcesafe and removed all the
sourcesafe files from the projects. That includes any reference to sourcesafe
even in the Project files and the solution file.
The breakpoint error is:
""The breakpoint will not currently be hit. No symbols have been loaded for
this document"
I also want to descibe how I have the project layed out, maybe this problem
will make more since.
The project is devided into a few projects. I have the following projects:
IntTreatPlan - a dll add-in to gather and print a word doc.
TreatReview - a dll add-in to gather and print a word doc.
PluginSDK - a dll that contains the logic to manage add-ins in my program.
MyDocs - The main application.

I have the compile option set to "bin\Releas e\". Thats what it defaulted to
even though I put it in the debug more. I changed the output path in all the
other projects to MyDocs "bin\Releas e\", so that main project could see the
dlls of the other projects. (If I should not do this, please let me know of a
better way)
I have also made sure that the Generate Debug info option to Full is set for
every project. I also checked "Define Debug constant" although I didn't think
that this would solve the problem. Thanks
Michael

"Michael" wrote:
Hi Everyone,
I just started to get this error today.
"The breakpoint will not currently be hit. The source code is different then
the original.
It seems to walk right over my breakpoints. I'm not sure whats going on
here. I only have the code in one location, so I'm not sure why I'd get a
message like this. Thanks for any suggestions.
Michael Lee
Feb 14 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1752
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following steps: Configured DCOM Connected to database via Server Manager (I can see the SQL server and the stored procedure)
4
2031
by: Wal Turner | last post by:
Consider the following simple class: public class ClassA { public static string VAR = "hello"; } public void MethodA() { while(true)
2
4077
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following steps: Configured DCOM Connected to database via Server Manager (I can see the SQL server and the stored procedure)
2
1987
by: Ofer Zelig | last post by:
I set a breakpoing at a certain line in a JS file, and get a small exclamation icon which its tooltip says "The breakpoint will not currently be hit. No symbols have been loaded for this document". Basic data: ASP.NET 2005 project (last official release) Debug compilation mode Problem arises both under IIS mode and under File mode (cassini) Full privilege (administrator...) Breakpoint works fine in CS code. The error mentioned...
5
1128
by: Web learner | last post by:
Is "successful build of project (asp.net20 C# website VWDExpress)" a pre-requisite or necessary condition to reach a breakpoint? I am asking this this question because the page loads up in the browser and the statement is successfully executed without ever hitting the set breakpoint. I see error list for another pages which are not currently opened. The web.config file for the project already has <compilation debug="true"/>
10
21830
by: Ole | last post by:
Hi, Using VS2005 and a windows CE 5.0 device running CF2. Suddenly I can't debug my C# program from VS2005 - when setting a breakpoint I only see a ring instead of the normal red dot and when holding the mouse over it I see a message saying: "The breakpoint will not currently be hit. The specified module has not been loaded". I have no problem when debugging a normal full framework application. I have not changed anything in my settings...
4
5533
by: TC | last post by:
When I try to debug my code, Visual Studio is skipping my breakpoints. At runtime, the solid red circle becomes only the outline of a circle, and if I hover over the breakpoint I see the message "The breakpoint will not currently be hit. No symbols have been loaded for this document." Breakpoints seem to be functional in the startup project, but nowhere else. I've found that I can hit a breakpoint in the startup project, then step...
5
2284
by: Max2006 | last post by:
Hi, I am using Visual C# 2005 and I like to setup breakpoint that pause execution upon a class variable change. Is that possible?
4
2706
by: RSH | last post by:
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...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10392
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10403
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5555
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5693
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.