Unable to debug
-
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?
-
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?
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
-
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
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
-
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
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
-
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
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.
-
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.
I'm guessing there was another reason than stupid microsoft, but i'm glad you solved it=)