Debugging features(break points and output window) aren't working

Brown, Matt 26 Reputation points
2022-09-16T05:09:12.35+00:00

Trying to debug an web application and I haven't been able to get breakpoints to works as I see a message saying "the breakpoint will not currently be hit." I have gone and looked at answers only to have none of them work for me. See one thread I looked at.

https://learn.microsoft.com/en-us/answers/questions/295434/the-breakpoint-will-not-currently-be-hit.html

Secondly, I have tried to send messages to my output window only for them to not go there, see "Debug.WriteLine("SQL: " + sql);" I tried Trace and Console and still nothing.

Also note the same thing is happening in both environments I have VS installed in and one version is 2022 and then other is 2017. It feels like I am missing a setting and yet I haven't found it. If I install VS on my own personal laptop, it works fine. It is just the versions I use at work for a client.

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.
947 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Brown, Matt 26 Reputation points
    2022-09-19T04:49:48.17+00:00

    I need to get admin access so I can see the AppData folder in that location. I tried the other steps and I still have the same issues. I did remove a bin folder, but I got error messages when I rebuilt the website. I added it back in and the errors went away. I didn't see folders for .vs or obj offhand. Do you have the directories for those three folders?