Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I put the breake point on function in dll project in c.
error is symbol of breake point is changed and information on symbol is the breake point will not currently be hit.No symbols have been loaded for this document.
Posted
Updated 8-Dec-11 22:12pm
v2
Comments
Albert Holguin 9-Dec-11 14:50pm    
By the way, not sure where the VB.Net comes into play. You don't mention that at all.

Your question is not very clear, but I suspect you are trying to debug with a non-debug version of the DLL. Try rebuilding it with DEBUG enabled.
 
Share this answer
 
Comments
Member 7909353 9-Dec-11 5:49am    
I have done.Assembly is not loaded during debuging.
Richard MacCutchan 9-Dec-11 5:54am    
Sorry but this does not really help, I am still not sure what is happening or what your program is trying to do.
Albert Holguin 9-Dec-11 14:49pm    
I think what he's trying to say is his breakpoint is telling him that it's not reachable when he tries to run the debugger (the breakpoint symbol goes from solid to just a circle with an exclamation symbol).
Philippe Mori 9-Dec-11 20:13pm    
Assembly is loaded only when needed.
You usually get this warning when the executable you've marked as your main entry point does not load the dll at all or alternatively, when you made changes to the DLL code and didn't recompile.

There could also be an error causing your executable not to load the dll, in which case, you'd get the same effect of not loading the dll at all.
 
Share this answer
 
Comments
Philippe Mori 9-Dec-11 20:13pm    
By the way DLL can be delay-loaded in some situations so you won't really know if you breakpoint is valid until the DLL is actually loaded.
Albert Holguin 9-Dec-11 20:28pm    
Uhm.. yeah... Of course
Member 7909353 11-Dec-11 23:27pm    
what is the solution?
Albert Holguin 12-Dec-11 9:35am    
Check to see if your application is actually loading your dll. I've had a similar issue before where I thought there was something wrong with my dll only to notice the application was loading another version of the same dll in a different directory.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900