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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. problems with break point and debugging in VS.NET

problems with break point and debugging in VS.NET

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiodebugging
5 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    anystudent
    wrote on last edited by
    #1

    I am facing strange problems while working in VS.NET, when I try to debug the program by putting a break point on a event method of the button click and than run the ASP.NET application and click that paticular button than instead of running in the debug mode it proceeds normally without giving me chance to press F10 and proceed,it behaves that as if no break point has been inserted.

    N M 2 Replies Last reply
    0
    • A anystudent

      I am facing strange problems while working in VS.NET, when I try to debug the program by putting a break point on a event method of the button click and than run the ASP.NET application and click that paticular button than instead of running in the debug mode it proceeds normally without giving me chance to press F10 and proceed,it behaves that as if no break point has been inserted.

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      Did you run your application by pressing "Control + F5"?? Did the configuration of your project is set to "release" mode? Button Click event is in Server-side or client-side?

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      1 Reply Last reply
      0
      • A anystudent

        I am facing strange problems while working in VS.NET, when I try to debug the program by putting a break point on a event method of the button click and than run the ASP.NET application and click that paticular button than instead of running in the debug mode it proceeds normally without giving me chance to press F10 and proceed,it behaves that as if no break point has been inserted.

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        How you started application ? Using F5 or Ctrl + F5. First one will stop when it see break points. Second one won't do this


        My Website | Ask smart questions

        A 1 Reply Last reply
        0
        • N N a v a n e e t h

          How you started application ? Using F5 or Ctrl + F5. First one will stop when it see break points. Second one won't do this


          My Website | Ask smart questions

          A Offline
          A Offline
          anystudent
          wrote on last edited by
          #4

          Navaneethn and Micheal thanks for your replies, I am running the application by pressing the run button in VS.NET, I am working in Debug mode and not in release, one point worth mentioning here is that whenever I create some new asp.net project and run it for the first time I get the following errors due to some unknown reasons: "Error while trying to run project:Unable to start debugging on the web server.The COM+ registry database detected a system error.Would you like to disable futureattempts to debug ASP.NET pages of this project". If select yes than it proceeds running the page but disables the debugging and if I slect no than it does not not proceeds.Also please note here that when I run some windows application in C# and inserts the breakpoint than it runs normally witout any error which means that there are no problems in VS.NET, can you people please tell that what does the above message means and what is the solution.

          N 1 Reply Last reply
          0
          • A anystudent

            Navaneethn and Micheal thanks for your replies, I am running the application by pressing the run button in VS.NET, I am working in Debug mode and not in release, one point worth mentioning here is that whenever I create some new asp.net project and run it for the first time I get the following errors due to some unknown reasons: "Error while trying to run project:Unable to start debugging on the web server.The COM+ registry database detected a system error.Would you like to disable futureattempts to debug ASP.NET pages of this project". If select yes than it proceeds running the page but disables the debugging and if I slect no than it does not not proceeds.Also please note here that when I run some windows application in C# and inserts the breakpoint than it runs normally witout any error which means that there are no problems in VS.NET, can you people please tell that what does the above message means and what is the solution.

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #5

            Actually I am not much familiar with this error. But I got a link in MSDN which is similar to this ? Try this[^]


            My Website | Ask smart questions

            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