ASP.NET: MVC 4 Debugging applications/Projects in visual studio 2010:
Below the steps for debug your asp.net mvc 4 source code using visual studio 2010 ultimate:
Below the steps for debug your asp.net mvc 4 source code using visual studio 2010 ultimate:
- First close all Visual Studio instances.
- Ensure that you are a member of the local debuggers group (Control Panel, Administrative Tools, Local Security Policy, Security Settings, Local Poliies, User Rights Assignment, Debug Programs).
- Change the following registry key(got start type “regedit” in “Search program and files” and click regeedit It will open “registry edit” window) HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger\DisableAttachSecurityWarning from 0 to 1.
- Go to IIS Crate a Virtual directory for your web application
- Open the project in VS editor. Right click in the project and click property, it will open the property window
- Click on Web,on Server tag select Use Custom web service and enter virtual path of our web application
- Open virtual path in Any one Browser
- In VS IDE click Debug tag and click Attached to process and select W3wp.exe and click attach button
- Then put break point(s) and click start with debugging.
0 comments:
Post a Comment
Share your thoughts here...