Rubberduck: Rel 2.5.0.5244 - Context menu not available in VBE and crash on adding Test Module - Solved (partially) with old rel .5226

Created on 22 May 2020  路  4Comments  路  Source: rubberduck-vba/Rubberduck

Rubberduck version information
Rubberduck version: 2.5.0.5244
Operating System: Microsoft Windows NT 10.0.18363.0 x64
Host Product: Microsoft Office x64
Host Version: 16.0.12730.20352
Host Executable: EXCEL.EXE

Description
1 - RD context menu not available in VBE (possibily related to issue "Rubberduck: not available in VBE, but loaded in Add-In-Manager #3538")
2 - Excel and VBE are unresponsive after adding Test Module, or opening a project with a test module inside. (possibly related to issue "Excel and VBE are unresponsive #5403")

To Reproduce

  1. Launch Excel (new xlsm file, empty vb project)
  2. Enter VBIDE
  3. Load RD Add-In: RD menu is available and it works, but RD context menu isn't available.
    Immagine
  4. Add a new Test Module: Excel freezes.

Logfile
After loading RD on new xlsm file with VBA empty project and refreshing Code Explorer
RubberduckLog-Startup.txt

After adding a new Test Module
RubberduckLog-TestModule.txt

After loading RD on new xlsm file with VBA empty project and refreshing Code Explorer (rel . 5226)
RubberduckLog-Startup-5226.txt

Additional context
The PC is relatively new (03/2020) and fairly clean. Other main software installed on machine:

  • Microsoft Office Professional 2019
  • SharpDevelop (rel. 5.1.0.5216 - need Microsoft Visual C++ 2008 Redistributable - x86)

Notes

  • Uninstall SharpDevelop, unistall RD, repair Office, restart PC and reinstall RD only, doesn't solve.
  • Tried with Rubberduck v2.5.0.5443-pre, but it doesn't solve
  • Tried with Rubberduck v2.4.1.5226-pre, still having errors in Logfile and context menu isn't yet available, but Excel and VBE remains responsive.

Many many thanks to all contributors for develop and maintain this awesome tool !

bug

Most helpful comment

Solved with v. 2.5.1.5557.
Excel and VBE remains responsive after adding a new test module (yet no context menu).
Thanks!

All 4 comments

The logs contain some COM exceptions around the RefactorExtractMethodCommand... I dimly recall that other issues with similar behaviour also had that specific command's COM interaction acting up.

AIUI that refactoring is currently undergoing a rewrite because it's somewhat broken if only due to the complexity of the refactoring itself and should be unreachable through the GUI...

Can you retry with prerelease v2.5.0.5457-pre or newer? With that version, we fixed a bug in the test explorer UI causing freezing in some projects.

Hi! Thanks for your feedback! I tried with prerelease v2.5.0.5457-pre.
Excel and VBE remains responsive, but context menu isn't yet available and vbe slow down after adding a new test module.
I attach log files at startup and after adding new test module.
Currently, my best working environment remains with v2.4.1.5226-pre: no freezing, no slowdown with test module (and no context menu too, but this is not a big issue for me, really).
Ciao!

RubberduckLog - 5457-pre - Test Module.txt
RubberduckLog - 5457-pre - Startup.txt

Solved with v. 2.5.1.5557.
Excel and VBE remains responsive after adding a new test module (yet no context menu).
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bclothier picture bclothier  路  3Comments

ThunderFrame picture ThunderFrame  路  3Comments

retailcoder picture retailcoder  路  3Comments

connerk picture connerk  路  3Comments

ChrisBrackett picture ChrisBrackett  路  3Comments