Posts Debugging asp.net web application – Tip of week #9
Post
Cancel

Debugging asp.net web application – Tip of week #9

Hi, Many a times we find it difficult to debug big applications. If we run the application it takes too much time to build and then run the application. Also at times it becomes difficult when you have to debug a code and you can not run the application because some other part of code is errorneous. How to debug the application or code in this scenario?

You can open the page in the browser by right click on the page in the IDE – View in browser or directly open the page in the browser by URL.

Go to IDE – Tools – Attatch to process or (ctrl + alt + P)

check on both the check boxes at the bottom and select the process W3WP in Windows Server 2003 and ASPNETWP in Windows XP and Windows server 2000.

Refresh the page the breakpoint will hit and you can debug the application

This post is licensed under CC BY 4.0 by the author.