Slow debugging when launching Revit.

Slow debugging when launching Revit.

Anonymous
Not applicable
838 Views
3 Replies
Message 1 of 4

Slow debugging when launching Revit.

Anonymous
Not applicable

I'm debugging a small add-in.  Yesterday the add-in launched Revit easily, however, today I'm trying to debug the same add-in and it's taking a really long time to launch Revit.  I'm seeing all the .dll files load from the C drive.  

 

I've rebooted and I made sure that my Revit .dll copy is set to false.  I can't think of what could be causing this slow down of the launch of Revit. 

 

Below is an image of the dll loading that I see when it's launching Revit slowly. 

 

SlowlaunchofRevit.JPG

 

Thank you for the help. 

0 Likes
Accepted solutions (1)
839 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

I could never get debugging to ever work satisfactorily. Ever!  Instead I use the AddInManager add-in that is shipped with the SDK. I is an add-in that allows you to run your newly edited and compiled code without having to restart Revit or shut down Visual Studio (Express in my case.). It is very convenient to use. There is no need to post build copy add-in files for Revit to see. The AddInManager knows where to find your latest build.  Eliminating all the time lag delay associated with debugging method you are using far out weighs having to use old school tracers to figure out the worst bugs.

 

 

Message 3 of 4

Anonymous
Not applicable

Thank you.  I will use the AddInManager add-in.  I've started working out this problem with our IT group here.  It seems that I may have to run a repair on my VS.  I used a different user and the Revit.exe launched quickly.  

0 Likes
Message 4 of 4

Anonymous
Not applicable
Accepted solution

I thought I would share how I fixed this problem.  My IT person repaired my VS.  Seems to be a VS problem.