Skip to content
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

Rubberduck doesn't find anything when it's scanning #6227

Open
Rovo1211 opened this issue Nov 14, 2024 · 4 comments
Open

Rubberduck doesn't find anything when it's scanning #6227

Rovo1211 opened this issue Nov 14, 2024 · 4 comments
Labels
bug Identifies work items for known bugs

Comments

@Rovo1211
Copy link

Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:

Rubberduck version 2.5.9.6316
Operating System: Windows 11 Home 23H2
Host Product: Excel VBE 7.1
Host Version:  Excel 365
Host Executable: [...]

Description
When I refresh the window of the Code Explorer, it doesn't find anything. I've tried many things to solve it, but so far no result. Sometimes it finds FUNCRES.XLAM, but no other things although there are more files open.

To Reproduce
Steps to reproduce the behavior:

  1. Go to menu Rubberduck
  2. Click on 'Refresh'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise overview of all MY objects in the Excel file
Rubberduck, Code Inspector
Rubberduck, Code Explorer
RubberduckLog.txt
.

Screenshots
If applicable, add screenshots to help explain your problem.

Logfile
Rubberduck generates extensive logging in TRACE-Level. If no log was created at %APPDATA%\Rubberduck\Logs, check your settings. Include this log for bug reports about the behavior of Rubberduck.

Additional context
Add any other context about the problem here.

@Rovo1211 Rovo1211 added the bug Identifies work items for known bugs label Nov 14, 2024
@Rovo1211
Copy link
Author

Only one time Rubberduck has worked PERFECTLY. After that time it didn't find anything to show although there was a file open with at least 20 macros, forms, etc.
Why it doesn't display the third level as in "@folder("Aandelen/Update/Declaraties")?

@Vogel612
Copy link
Member

Are you certain that the file fully parses as is? The Logs suggest there is a syntax error in "Aandelen_Update". If that is the case, Rubberduck basically disables most of its features to not accidentally break anything ...

@Rovo1211
Copy link
Author

That is what Rubberduck is for: to find errors in your code and correct it. If Rubberduck already falls about syntax-errors...

@retailcoder
Copy link
Member

That is what Rubberduck is for.

No. Rubberduck has always assumed the code it's looking at is legal code that VBA can compile and run. We strive to ensure any legal VBA code can be correctly processed, but it's the compiler's job to produce the executable P-Code and report any errors that might occur while doing so; Rubberduck (or any other tool) literally cannot do the compiler's job without being a compiler itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs
Projects
None yet
Development

No branches or pull requests

3 participants