-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excel and VBE are unresponsive #5403
Comments
I'm seeing a similar behavior in an Access project. It used to work fine with this project. I added one module and now parsing takes a very long time. When the parsing is complete I can no longer interact with Access at all. I can't click on a single thing in the VBE or in the Access GUI. It's completely frozen. The only way to recover is to close the application. I have uninstalled RD as I can't use it on my current project anymore. I've Tried the previous stable release as well as the most recent "pre" release. Same behavior. |
@A9G-Data-Droid it would be very helpful if you would reinstall RD, set debugging to Trace, reproduce the issue, then post the log here. Then uninstall it again, as it's obviously not being helpful at the moment. |
I don't want to post the whole thing here. I can share some redacted snips that seem interesting. |
Ok, that's better. |
The COM exceptions are very suspicious. Does the project reference the Access object model? |
Sorry, I'm not OP. I'm jumping in to say I see the same thing in Access. I thought it might be related. zspitz included his log file at the beginning of this issue. His errors are different than mine. Should I make a different Issue? |
@MDoerner Any suggestions for me? |
This might actually be related to #5442. Could you see whether you have the same problem with version 5226? |
@MDoerner Specifically 5226? Or 5226 and later? |
5226 or earlier |
5226 seems to work -- at least it opens, and I can interact with both the VBA IDE and the Rubberduck UI. |
@MDoerner Just a ping; not sure if you're getting notifications here or not. |
I get notification. Since it works with that version, there is a good chance that it is related. The bad thing is that the issue seems to be related to a race condition in the grouping grid control. That will not be easy to debug. In particular, the battleship project does not hang in any way for me with the current version. |
Can you still reproduce this with Rubberduck v2.5.0.5457-pre or newer? That PR fixed a bug in the test explorer UI causing a freeze for some projects. |
It seems to be working now. Both the VBE and the host application are responsive. I also checked the following:
Is there anything further you want me to check or do before closing? |
Rubberduck version information
Description
Opening a relatively large VBA project causes both the VBE and Excel to become unresponsive -- neither window can be activated; menu items and buttons don't work; can't interact with the worksheet or worksheet tabs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
VBE and Excel should be responsive
Logfile
RubberduckLog.txt
Additional context
Windows doesn't seem to recognize the window as having frozen.
Excel seems to be showing high CPU usage.
The text was updated successfully, but these errors were encountered: