Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Breakpoint doesn't hit

Breakpoint doesn't hit

Scheduled Pinned Locked Moved ASP.NET
debuggingquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    reogeo2008
    wrote on last edited by
    #1

    Hi all, I have set a breakpoint in the page_Load event of the Statrtup page of the website.But is is not hitting while runnong the project.What may the reason,Can anybody suggest me the reason and how can i solve it. THank in advance.

    S A 2 Replies Last reply
    0
    • R reogeo2008

      Hi all, I have set a breakpoint in the page_Load event of the Statrtup page of the website.But is is not hitting while runnong the project.What may the reason,Can anybody suggest me the reason and how can i solve it. THank in advance.

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      Seems like your dev (Visual Studio) is not connected to the correct process. When you start debugging within your Visual Studio, use the browser window that opens. Do you use the embedded ASP.NET development server or the IIS to execute your website? Regards Sebastian

      It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

      M A 2 Replies Last reply
      0
      • S SeMartens

        Seems like your dev (Visual Studio) is not connected to the correct process. When you start debugging within your Visual Studio, use the browser window that opens. Do you use the embedded ASP.NET development server or the IIS to execute your website? Regards Sebastian

        It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

        M Offline
        M Offline
        Manas Bhardwaj
        wrote on last edited by
        #3

        In addition to that, does the application has debug=true?

        Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        1 Reply Last reply
        0
        • R reogeo2008

          Hi all, I have set a breakpoint in the page_Load event of the Statrtup page of the website.But is is not hitting while runnong the project.What may the reason,Can anybody suggest me the reason and how can i solve it. THank in advance.

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          You need to Restart Terminal Services, as Debugging uses Terminal Service.. This seem to you weird, but its the fact. Go to Run - > services.msc Right click on Terminal Service -> Restart (or Start). Now Run your application. I think it will fix the problem.:rose:

          Abhishek Sur


          My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

          **Don't forget to click "Good Answer" if you like to.

          1 Reply Last reply
          0
          • S SeMartens

            Seems like your dev (Visual Studio) is not connected to the correct process. When you start debugging within your Visual Studio, use the browser window that opens. Do you use the embedded ASP.NET development server or the IIS to execute your website? Regards Sebastian

            It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

            A Offline
            A Offline
            amreg
            wrote on last edited by
            #5

            i just had the same problem this morning. tried couple of hours solving it. compilation debug = true, autoeventwireup = true...etc..etc.. nothing worked. i restart my pc, reset devsetting of visual studio, and all other things that comes up to my mind. still no luck. i am using windows vista. the solution? go to start menu, find the visual studio 2005, right click then click properties. in compatibility tab, check "Run this program as an administrator" that's it, i was going crazy this morning but the solution turned out to be really simple. hope this helps

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups