• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3053
  • Last Modified:

The Breakpoint will not currently be hit. No Symbols have been loaded for this document.


I'm working with VS 2008 on Vista Ultimate 32 bit.

When I try to debug my ASP.NET project, the breakpoints are not hit. The message is:

"The Breakpoint will not currently be hit. No Symbols have been loaded for this document."

I've found many discussions on this subject, so I've tried many things, nothing worked. I've tried to delete /bin and /obj folders, compile in the release mode then recompile in debug mode, checked the project properties and several other suggestions. Some posts mention checking the Module window under Debug menu, but I cannot find this window in VS 2008.

Some things to consider:

1. I have several projects on the same PC, only one has this issue.

2. The solution has only one project.

3. I'm debugging the server-side VB.NET code. Of course I'm using the debug mode, and Web.config is configured for debugging.

4. This is a very old VB.NET project written for .NET 1.1. It even doesn't have separate code pages, only .aspx. I imported it in VS 2008 and converted to use .NET 3.5. And it works fine, only debugging doesn't.

I would appreciate any suggestions on this. I think the problem is related to the fact that this project had been converted form .Net 1.1, but I don't know how to fix this.

Thank you.
  • 4
1 Solution

If you want to debug your code, make sure that the following are in place.

1. The project should be compiled in debug mode.
2. The current running project and the source code should be the same. If any modification done will not invoke the debugger.
3. Make sure that <compilation debug="true"> is set on the web.config
ehitekAuthor Commented:
Thanks. As I mentioned in my original message, I am compiling in the debug mode and web.config is configured correctly. I also don't make any changes to the code while debugging.
Delete the assembly from the GAC.

The information on this website will be helpful to properly delete the assembly:
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

ehitekAuthor Commented:
Thank you, but I cannot open this site - The webpage cannot be found.
ehitekAuthor Commented:
OK, I opened it, will try this tonight.
ehitekAuthor Commented:
Unfortunately, didn't work.

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now