Visual Studio Debugging - Breakpoint Set but Yet Bound

Ray Pietrzak 11 Reputation points
2021-02-09T16:12:41.467+00:00

I am having issues trying to Debug in Visual Studio 2017. I have a web application project and have set some breakpoints in my *.aspx.vb code pages. The breakpoints set just fine with the Red Circle indicator. But when I start the debugger, I get the warning that the Breakpoint will not currently be hit. Breakpoint set but not yet bound.

I cannot figure out how to fix this? What is wrong?

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,007 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,611 Reputation points Microsoft Vendor
    2021-02-10T08:57:17.74+00:00

    Hello @Ray Pietrzak ,

    Welcome to Microsoft Q&A forum.

    Please try following steps to troubleshoot:

    1). Build > Clean Solution and then restart Visual Studio and rebuild your project, after that debug again.

    2). Please go to your solution folder and delete(or rename) the “obj”, “bin” and the hidden “.vs” folder, restart Visual Studio and then rebuild your solution.

    3). Check if you have chosen the “Debug” mode and if you have many other projects in this solution, make sure you have set the “Set as Startup Project” for the corresponding project.

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    1 person found this answer helpful.

  2. Adammm 6 Reputation points
    2021-04-27T21:41:50.697+00:00

    Please check if Enable Just My Code option is disabled in Visual Studio.

    0 comments No comments

  3. Farrukh Malik 6 Reputation points
    2022-03-16T08:58:06.867+00:00

    With all the cleaning, try to clear the Temporary ASP .Net files folder in Windows/Microsoft Net/Framework and Framework64. My issue of break point not binding goes away when I clear these temp files and specially when I clear the browser's Cache. No need to uncheck Just My code option in the Options ==> Debug ...

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.