How to debug ASP pages in VS 2010.
This is one way to debug the application but there could be another way also
· Step 1
· Open the site in IE
· Click Tools à Internet Options
· Click on the Advanced Tab
· Make sure that the below two options are Unchecked
o Disable Script debugging (Internet Explorer)
o Disable script debugging (Other)
· Step 2
· Open IIS à Right click on the Site/Virtual Directory à Click Properties
· Click on the “Configuration” button in the Virtual Directory Tab in the Application Settings section
· Click on the Debugging tab and make sure that the two check boxes shown are checked under the Debugging Flags section
· Step 3
o Run the site in IE
o Open the ASP page that you want to debug
oClick the Tools à Attach Processes
o In the Attach Processes Dialog boxes, check the “Show processes from all users” checkbox
o Click the dllhost.exe and then click on the “Select…” button in the Attach to section and make sure that “Script To” option is checked
o Click ok and click ok again for the warning message that shows the Attach message
o Now, put the break point in your ASP page where the application wants to break
No comments:
Post a Comment