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

Limit the number of error popups #379

Open
nullchilly opened this issue Nov 6, 2024 · 1 comment
Open

Limit the number of error popups #379

nullchilly opened this issue Nov 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@nullchilly
Copy link

Problem Description

Every time there's an error (i.e. decompile error or OOM), DnSpy will nonstop spawn error popups making the computer unusable until DnSpy crashes

image

image

There are so many DnSpy popups that it formed a shadow effect

Proposal

Don't send error popups with the same message

Alternatives

No response

Additional Context

No response

@nullchilly nullchilly added the enhancement New feature or request label Nov 6, 2024
@ElektroKill
Copy link
Member

Hi, these errors do not appear to originate from dnSpy code itself but rather from the WPF framework. The decompiler in dnSpy is run on a separate thread with an exception handler configured so any exception raised there would not cause these popups. This can be seen when you observe decompiler errors causing green comment text in the output.

If the popups you are seeing can be isolated to a single file which causes the issue then it might be some trickery going on in that file to mess with the WPF renderer or something like that. If so, could you please send the file to me via email at [email protected]

If these popups occur for many different files with nothing in common then it is most likely something in WPF causing the large amounts of errors.

I have never seen such an error spam before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants