Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VS2010 VB.NET
Hi,
 
While debugging my project,my breakpoint is not getting fired and it shows a message like 'the breakpoint will not currently be hit. no symbols have been loaded for this document'....How this occurs..
 
Plz help me
Thnx in advance
Posted 23-Apr-12 21:36pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

This simply means that your PDB file timestamp and project dll filestamp does not match. Binaries are probably new and PDB are not. Just clean the solution or delete bin folder. Rebuild everything and then try - it should work.
  Permalink  
Comments
VJ Reddy at 24-Apr-12 7:59am
   
Good answer. 5!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Are you running in debug mode?
 
If not, then you might try
 
#pragma optimize( "", off )
 

somecode()
{
...
breakpoint
...
}
 
#pragma optimize( "", on )
 

More info:
http://msdn.microsoft.com/en-us/library/chh3fb0k%28v=vs.80%29.aspx[^]
  Permalink  

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



Advertise | Privacy | Mobile
Web01 | 2.8.141015.1 | Last Updated 24 Apr 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100