• JIT debugger doesn’t work on local machine (ASP.NET with Visual Studio)

    Home » Forums » Developers, developers, developers » DevOps Lounge » JIT debugger doesn’t work on local machine (ASP.NET with Visual Studio)

    Author
    Topic
    #401637

    I’ve set a breakpoint in my asp.net app running on my local IIS (http://localhost) and .NET simply ignores it. I took a look at the web.config fiel and it says “”. I also check on Just-In-Time debugging under TOOLS, Options. And the Help file doesn’t help ! disappointed

    Viewing 1 reply thread
    Author
    Replies
    • #792608

      Hi Gwenda

      Here are a few things to check:
      1) Are you running the project using the “Start” command (Debug | Start)? This is the only way to actually debug. It took me a while to figure this out… Before learning this, I thought I could simply run the site in a browser without actually “starting” the project…

      2) Check the Project Properties dialog (Project | Properties), click the Debugging option, located under the Configuration Propreties group. Make sure ASP.NET Debugging is checked.

      3) There’s also a Debug=True/False option in the page directive of each ASPX page. You don’t actually need to set it to True, just as long as it’s not set to False.

      4) Finally, make sure you have created an Application for the web folder or virtual directory in IIS. Right-click the folder, select properties, select the Directory tab, click the Create button. (If you see the Remove button, then it’s already done.)

      Hope this helps! smile

      • #793029

        Hi MarkJ – Once again you hit the bulls eye! bullseye I thought I could just “build and browse” but now I’m actually using Start and the de###### works fine!

      • #793030

        Hi MarkJ – Once again you hit the bulls eye! bullseye I thought I could just “build and browse” but now I’m actually using Start and the de###### works fine!

    • #792609

      Hi Gwenda

      Here are a few things to check:
      1) Are you running the project using the “Start” command (Debug | Start)? This is the only way to actually debug. It took me a while to figure this out… Before learning this, I thought I could simply run the site in a browser without actually “starting” the project…

      2) Check the Project Properties dialog (Project | Properties), click the Debugging option, located under the Configuration Propreties group. Make sure ASP.NET Debugging is checked.

      3) There’s also a Debug=True/False option in the page directive of each ASPX page. You don’t actually need to set it to True, just as long as it’s not set to False.

      4) Finally, make sure you have created an Application for the web folder or virtual directory in IIS. Right-click the folder, select properties, select the Directory tab, click the Create button. (If you see the Remove button, then it’s already done.)

      Hope this helps! smile

    Viewing 1 reply thread
    Reply To: JIT debugger doesn’t work on local machine (ASP.NET with Visual Studio)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: