Comments (11)
Plugins are running inside Revit process, debugger can be attached only to the whole process, therefore you are debugging every loaded assembly that is not build with optimization enabled or there are available debug symbols (*.pdb) for it.
from revitlookup.
@guffab i see. indeed the slowdown in performance is felt quite critically.
Maybe Visual Studio users can help you, I use Jet Brains debugger and I can't test VS debugger. In my case this is not observed
from revitlookup.
@guffab during debug uses unoptimised code, any Debug build will be slower than Release. However 5-10 seconds is not normal, without more information there is no idea what the problem is
from revitlookup.
@Nice3point I think there is also a misunderstanding. I am not debugging the RevitLookup tool, but my own plugin. As far as I know, this should not have any affect on Revit or other plugins.
from revitlookup.
So am I correct to assume the version of RevitLookup I installed was not built in Release Mode and it also includes .pdb files?
Could this be the reason for the issue I am seeing?
I should also mention there is no issue with versions prior to Revit 2024. Maybe it has something to do with the UI change?
from revitlookup.
RevitLookup is published in Release mode, and does not ship with pdb files.
If your plugin is not protected by NDA, you can send us the source code to understand what the problem is. We cannot answer your question without analysing it
from revitlookup.
Here is a bare-bones version of my plugin. To reproduce the issue:
- Unpack
- Open in Visual Studio
- Start with Debugger
- Open existing project or create a new one
- Select an element and click RevitLookup > Snoop Selection
from revitlookup.
@guffab the code is completely empty, it doesn't cause any problems, everything works fine as before during debugging
from revitlookup.
Interestingly enough, on my PC (and those of my colleagues) there doesn't have to be any actual code in the project to reproduce it. Did you test it with the Visual Studio Debugger or only with Jetbrains Rider?
Snoop Selection of different elements and clicking on their Properties/Methods also works smoothly for you?
from revitlookup.
I just checked on another colleagues PC. He did not have this problem, but he also had an older version installed:
After he updated, he had the same problem.
Here are two videos showing the difference (with and without Debugger):
Without.Debugger.mp4
With.Debugger.mp4
from revitlookup.
I tested in Visual Studio 2022 with the last version (2024.1.4) and looks normal. I'm using Revit 2024.0.
Only the EventMonitor that is showing something in the console:
2024-05-17 14:00:14 [DBG] RevitLookup.Core.EventMonitor: RevitLookup EventMonitor: Autodesk.Revit.DB.Document.DocumentClosing
2024-05-17 14:00:14 [DBG] RevitLookup.Core.EventMonitor: - success
...
Looks normal.
from revitlookup.
Related Issues (20)
- latest release won't run HOT 17
- typing in search field crashes 2025.0.0 on revit 2025 HOT 1
- Revit crashes if i snoop a Bending Detail Schematic HOT 32
- Revit 2025 - Allow Multiple Selection HOT 2
- Revit freezes during Document.Export() with RevitLookUp Event Monitor running HOT 2
- View methods overloading low performance HOT 1
- `main.yml` file in the release folder? HOT 15
- Build Automation Version is breaking Revit 2025 HOT 15
- Revit 2023: Properties not showing when installing RevitLookup
- Add BuiltInCategory in element parameters HOT 2
- Visualization setting dark theme have white background. HOT 4
- Visualization setting: Solid scale feature HOT 14
- I get an error HOT 2
- Structural Framing Visualize Geometry Not Updating HOT 4
- Request: Add WorksharingTooltipInfo Properties HOT 3
- Missing Method Exception being thrown during Revit Lookup "OnStartup" execution HOT 3
- CylindricalFace has no Radius property in snoop summary HOT 1
- 2025.0.8 - Can't Load Assembly HOT 2
- Missing quick access icon HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from revitlookup.