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. Unable to debug

Unable to debug

Scheduled Pinned Locked Moved ASP.NET
debuggingcsharpvisual-studiohelpquestion
6 Posts 3 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.
  • F Offline
    F Offline
    Faisal Khatri
    wrote on last edited by
    #1

    Hi, I have applied breakpoints in my application. The first breakpoint is on Page_Load and the second is on Button Click event. Similarly I have another breakpoint on a different page on its Page_Load method. None of them work. VS.NET does not invoke any of the breakpoint. I am using IE7 as my default browser and VS.NET 2008 is the framework. Can any one tell me what's wrong with this?? Please help?

    R 1 Reply Last reply
    0
    • F Faisal Khatri

      Hi, I have applied breakpoints in my application. The first breakpoint is on Page_Load and the second is on Button Click event. Similarly I have another breakpoint on a different page on its Page_Load method. None of them work. VS.NET does not invoke any of the breakpoint. I am using IE7 as my default browser and VS.NET 2008 is the framework. Can any one tell me what's wrong with this?? Please help?

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      Are you running the application from within the IDE or running it from IE and attaching to debug?

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      F 1 Reply Last reply
      0
      • R R Giskard Reventlov

        Are you running the application from within the IDE or running it from IE and attaching to debug?

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        F Offline
        F Offline
        Faisal Khatri
        wrote on last edited by
        #3

        I am running with the Play button given at the top Standard toolbar. So I am running it from IE and attaching it to debug. I repeat i am using IE7

        M 1 Reply Last reply
        0
        • F Faisal Khatri

          I am running with the Play button given at the top Standard toolbar. So I am running it from IE and attaching it to debug. I repeat i am using IE7

          M Offline
          M Offline
          michaelschmitt
          wrote on last edited by
          #4

          Hi there, i could imagine two possible reasons: - You have set debug=false in your web.config and ignore the warning-message on hitting the "playbutton" Example:

          <system.web>
          	<compilation debug="false">
          		...
          	</compilation>
          

          ...

          Solution: set debug to true. - Second reason: you have AutoEventWireup in your .aspx markup set to false - and therefore, your page load is not wired anywhere. either set AutoEventWireup to "true" or wire the event up yourself. Thats all i could imagine right now. Good luck

          F 1 Reply Last reply
          0
          • M michaelschmitt

            Hi there, i could imagine two possible reasons: - You have set debug=false in your web.config and ignore the warning-message on hitting the "playbutton" Example:

            <system.web>
            	<compilation debug="false">
            		...
            	</compilation>
            

            ...

            Solution: set debug to true. - Second reason: you have AutoEventWireup in your .aspx markup set to false - and therefore, your page load is not wired anywhere. either set AutoEventWireup to "true" or wire the event up yourself. Thats all i could imagine right now. Good luck

            F Offline
            F Offline
            Faisal Khatri
            wrote on last edited by
            #5

            none of those. The problem is solved. That was some weired page problem. So I copied all the code and design to a new page and tried to execute, it works. I guess its just stupid creatiion of microsoft.

            M 1 Reply Last reply
            0
            • F Faisal Khatri

              none of those. The problem is solved. That was some weired page problem. So I copied all the code and design to a new page and tried to execute, it works. I guess its just stupid creatiion of microsoft.

              M Offline
              M Offline
              michaelschmitt
              wrote on last edited by
              #6

              I'm guessing there was another reason than stupid microsoft, but i'm glad you solved it=)

              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