Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to debug DNN application?How to debug DNN application?
Previous
 
Next
New Post
8/25/2011 2:50 AM
 
Hi, I have created a custom  nodule, but it is not working as per requirement. There is some problem while loading data from database. I want to debug the module. How??. Please provide a detailed answer. I am using DNN 6(Source code version) with Visual Studio 2010. There is no Solution file in source code so I can debug it.
Thanks
 
New Post
8/25/2011 3:57 AM
 
The first question would be HOW have you set up your development environment - and what type of module are you trying to debug?

Is the module a WAP based module or a WSP based module?

Westa
 
New Post
8/26/2011 7:51 AM
 

Hi Westa,
I am using DNN 6 community version(From www.codeplex.com) with Visual Studio 2010 and SQL server 2008.  And trying to develop a web application module. My task is very simplw and basic, to create a page that displays list of Books from database which may be edit,update and delete.
Iam used to  ASP.NET and quite new to DNN but hitting head to learn it. Debugging is basic need but dont know how to do it in DNN.

Thanks
 
New Post
8/26/2011 8:58 AM
 
Firstly,  for what its worth - if you are new to dnn and module development , I would strongly recommend doing your early development using the WSP development approach.

The WSP approach offers an extremely fast debug cycle - the reason for which is that there is no need for the web server application to restart at the beginning of each debug cycle. This means you can effectively do test cycle development with web forms. 

By which i mean -  change a line of code - test/debug almost instantly - without the lag while you wait for your module to re-compile and the web server application to do a full restart - something that happens every time you debug a WAP application - since the action of doing a WAP compile causes the bin folder contents to change ( which automatically causes the web server application restart).

But regardless - back to WAP debugging - when you create a WAP module the most common way to debug is using the ATTACH to PROCESS option. 

Basically, change your WAP module to debug mode - then using the DEBUG->Attach to Process menu option and attach to your local development website's running application process.  For windows 7 this process will be w3wp.exe.

Westa
 
New Post
8/26/2011 9:28 AM
 
There is a very nice site of video tutorials by Chris Hammond under Resources, Video Library in which he goes step by step through the creation of a module.

There are also videos and blog entries from Chris that describe how to set up a development environment and debug.




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to debug DNN application?How to debug DNN application?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out