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

Posted on 2009-04-29
Last Modified: 2013-11-26

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.
Question by:ehitek
    LVL 14

    Expert Comment


    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

    Author Comment

    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.
    LVL 2

    Expert Comment

    Delete the assembly from the GAC.

    The information on this website will be helpful to properly delete the assembly:

    Author Comment

    Thank you, but I cannot open this site - The webpage cannot be found.

    Author Comment

    OK, I opened it, will try this tonight.

    Accepted Solution

    Unfortunately, didn't work.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now