Click here to Skip to main content
Sign Up to vote bad
good
See more: VS2010VB.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:36


4 solutions

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 - 24 Apr '12 - 7:59
Good answer. 5!
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 198
1 Sergey Alexandrovich Kryukov 159
2 Richard MacCutchan 150
3 Maciej Los 136
4 Tadit Dash 110
0 Sergey Alexandrovich Kryukov 10,264
1 OriginalGriff 7,937
2 CPallini 4,201
3 Rohan Leuva 3,522
4 Maciej Los 3,135


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 24 Apr 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid