DotNetNuke 5.6 + DNNRadMenu = Terribly Slow Debugging (100% CPU usage in 1 Core for 30 seconds)

678 Views Asked by At

When i do the following, I have one CPU core that sits at 100% utilization for about 30 seconds (page does not finish loading until this 30 seconds is up).

  1. Add RadMenu to a skin
  2. Load a page that uses that skin
  3. Confirm that the page loaded OK (DNN recompile went fine...)
  4. Turn on debugging (attach to w3wp.exe in VS2010)
  5. Refresh page

wait 30 seconds...

When I remove the RadMenu from the skin, the thing debugs immediately.

I'm using the DNN download for RadMenu http://dnnradmenu.codeplex.com/

Any tips?

I've tried:

  • removing most other skin object references in the skin
  • replicating behavior on multiple pages, multiple skins
  • Telling VStudio to ignore symbols named: radmenu (I don't know if this catches those items in
    the asp.net temp files folder) and the telerik (huge) DLL in dnn/bin
  • turned off most debugging 'extra' features in VS2010
  • Set debug=false in the radmenu ascx file

I don't know if there's a new version available. I've got the only version available on that download site.

DNN 5.6.x Community, Radmenu 1.0, VS2010 (latest SP/etc), IIS7, .Net Framework 4.0, Win7 64bit

2

There are 2 best solutions below

0
On BEST ANSWER

The unfortunate solution to this problem is to disable the DNNRadMenu when debugging in Visual Studio is necessary. I have added two shortcuts on my Desktop. One renames DNNRadMenu.ASCX (to disable), and the other shortcut renames it back (to enable).

The above issue may not be a problem with the Telerik controls made available in non-community versions of DNN.

The above issue only concerns the DNNRadMenu that is made available for community as of 5.6.

8
On

Have you tried the RadMenu skin object that Telerik provides? With your Telerik components, there should be an additional DNN download which contains a Skin Objects package.