1

RESOLVED

The problem was in how Visual Studio was running the website. I had stupidly misconfigured my properties; I hadn't set Use Local IIS Web Server like I should have.


I'm getting the dreaded

The breakpoint will not currently be hit. No symbols have been loaded for this document.

while trying to debug my asp.net MVC 3 application. Following the advice here, I hit F5 to debug, went to debug -> windows -> modules, but my website's dll doesn't even show up. I should see a Services.Web.UI.Mvc.dll, but I don't. It seems nothing outside of the built-in .net assemblies are being loaded.

Does anyone know what I can do to get my website's symbols loaded?

enter image description here

Adam Rackis
  • 82,527
  • 56
  • 270
  • 393
  • Are you running the site locally or is this like a remote debug situation? – SwDevMan81 Apr 06 '12 at 16:50
  • @SwDevMan81 - running the site locally, but it is configured to run through IIS. Not sure if that's relevant. – Adam Rackis Apr 06 '12 at 16:53
  • Looks like some helpful tips [here](http://stackoverflow.com/questions/856643/why-would-the-debugger-not-be-stopping-at-a-breakpoint-in-my-asp-net-application) – SwDevMan81 Apr 06 '12 at 16:58
  • Why not post the resolution as an answer and accept it? I don't think you get points for it but the question would at least be marked as answered :) – JaredPar Apr 06 '12 at 20:41
  • Good point, @Jared. Done. (or completely done in two days when I can accept it) – Adam Rackis Apr 06 '12 at 20:48

1 Answers1

1

The problem was in how Visual Studio was running the website. I had stupidly misconfigured my properties; I hadn't set Use Local IIS Web Server like I should have.

Adam Rackis
  • 82,527
  • 56
  • 270
  • 393