Search code examples
c#visual-studio-2005breakpointsdebug-symbols

Symbols wont load for my project


I have a project I was handed that I unzipped, put on my computer, and now I can't put any breakpoints in. Whenever I try to put a breakpoint in I get an exclamation point over the breakpoint saying "This breakpoint will not currently be hit. No symbols have been loaded for this document." Anyone know how I can fix this? This error doesn't show up until the I start to run the code, while the code isn't running the breakpoint looks like it is there just fine.


Solution

  • I'd guess that you might be running a release build? Check the project settings to make sure it's a debug build, otherwise breakpoints can be ignored due to compiler settings sometimes since the optimizations can make the debugger a bit upset.

    Might also be worth doing a clean and rebuild all to make sure that you're running against the correct version of the binaries etc.