Hollow breakpoints…

While trying to pinpoint where a bug was in VS.NET 2008, the breakpoints I set became hollow… I was like @#$%#$%^#$. The error message is “Breakpoint will not currently be hit. No symbols loaded for this document.”

So I was like, easy, just delete all the temp files and restart. Well, not that easy, the breakpoints decided to stay hollow… Call me stupid, I try that again, still the same.

I then try to set and unset the breakpoints, as if it was a simple gui bug. Nope. Once I started the debugging process, all breakpoints became hollow…

At that point, I almost decided to use the classic approach, printing out variables into the console. Sad isn’t it? Using this poor man approach on a world-class IDE.

Then I decided to google a bit on this. I am not alone. Apparently there are many solutions that may or may not solve this issue. It’s like finding the reason why your stomach hurts. The solution for my case is found here: http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/4f7b3eb5-67b5-4066-8299-fe7635cc1d82

  1. Bring up the project properties window
  2. Go to the ‘Compile’ tab
  3. Under the Advanced Compilation Options screen select ‘Full’ in the ‘Generate debug info’ combo.

Alright, all the breakpoints are now solid! Yea~~

Oh wait, what was I working on?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s