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

G

Guest

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
 
T

tomb

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
 
P

pfc_sadr

Robin

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

sound good bitch?
 
G

Guest

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
 
G

Guest

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\Release\". 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\Release\", 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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top