Debugging DotNetNuke 5 with Visual Studio 2008 and IIS7

February 20, 2010

I have my DotNetNuke configuration setup as listed in this post.  I believe this works with the standard installation guidelines (outlined here) .

I normally set the “Property Pages” of the web project to look like the following.  You can get here by right clicking the web project, and selecting “Property Pages”.

Property Pages

To begin debugging, select “Debug > Attach to Process” from Visual Studio 2008.  Check the boxes labeled “Show processes from all users” and “Show processes in all sessions”.  Once listed, you may select w3wp.exe and select “attach”.  (note:  I believe if you are using IIS6 (Server 2003, XP) then it would be aspnet_wp.exe).

Debugging screen

Once done, you will be able to put breakpoints in your project and step through the source code.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

tags: ,
posted in DotNetNuke by admin

Follow comments via the RSS Feed| Trackback URL

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org