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...Administration ...Administration ...Enable Debugging On ModulesEnable Debugging On Modules
Previous
 
Next
New Post
1/4/2006 10:57 AM
 

Ok so that is the problem is i do not have symbol file. Meaning that file is never getting compiled. Meaning I wiould never be able to debug it..

That is my problem. I do i enable debugging in a custom module for DNN 4.02 I have added the module item in VS and it works fine when i create a package and upload it in to DNN, but I am unable to debug it.

 

Any help would be great..

 

Thank you

Chris

 
New Post
1/5/2006 1:47 AM
 

I think you've just missed a step.

You've included the module in the development. That was good.

You've checked to make sure you're producing a symbol file, typically *.pdb extension.

You've made a package with the DLL and installed it. That's good.

Now, did you remember to copy the pdb file to the bin directory when the package installer placed the dll's that were in your package?

I'm guessing you didn't.

Casey

 
New Post
1/5/2006 10:08 AM
 

Ok I am not using a .dll file in my module package. I am using  uncompiled .vb and .ascx files.

So my project looks like..

DotNetNuke.sln

               http://DotNetNuke_2

                              App_Code

                                         wucPals---This Directory is empty I have no code here.

                                                            I tryed to put my code here I get errors..

                              DesktopModules

                                             wucPals

                                                         app_LocalResources

                                                                        viewwucpals.ascx.resx

                                                          wucpalsmain.ascx

                                                                   wucpalsmain.ascx.vb

                                                            

                                                 

There is nothing that i have done to the starterkit item template execpt deleted all the stuff that i will not be using in this module such as the iaction.. etc...

So my question is... How do i get a break point or debug that wucPalsMain.ascx.vb file? What am i missing for a step.

 

   Back to the .dll file.

So i publish the web site and get a temp.dll but it does not create any symbol files.

 

So i have been thinking about what is going on here and it would seem that the dot net nuke item template does not create compile entrys in to the .proj file meaning that the main project does not know that your .ascx and .vb files need to be compiled.

Is that correct?

 

 

 
New Post
1/6/2006 11:14 AM
 

I haven't done a significant level of debugging in 4.02 yet, but it seems to me that you're not really past the learning curve on debugging the web process in general, but you're getting there which is good news.

When you make your module (I refrain from using private assembly for various reasons), you should be producing a DLL file. I'm sure there is some mechanism by which you don't have to produce one, but in nearly every module I've developed, I've used DLL files. If you "build" the DLL file using the "Release" profile, the DLL will generally exhibit three traits: it will load faster, be smaller, and can not be used for debugging at the "easy" level. Using the "Debug" profile will build both the DLL that can be debugged as well as the PDB file containing the symbols.

You have to 1) get the module installed, and then 2) have both the symbol and DLL file in the bin directory or from wherever you have DotNetNuke pulling DLL files for core/module.

Launch the site, launch the debugger, bind to the process, load the code file you want to debug, set the break point and browse the site till you get to that point. It should work. If it doesn't, you've missed something somewhere.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Enable Debugging On ModulesEnable Debugging On Modules


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