-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fix: Prevent Visual Studio from stopping when deleting an item #10597
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
Fix: Prevent Visual Studio from stopping when deleting an item #10597
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
Open Files in Debug mode, select a file, press Delete. Visual Studio stops at a Win32Exception. The code can only raise an exception regardless of the result. It is probably not possible to do otherwise. It's fine for Visual Studio to break for a Win32Exception, but not this one. Developers shouldn't change the options, just definitely point out not to stop at this exception. |
I can't reproduce this |
I can reproduce it, do you have the right exceptions activated in Visual Studio? |
How can I check? |
Visual Studio, Press Ctrl+Alt+E and check if the Win32Exceptions are checked. |
It's checked but it's possible I ignored this specific error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolved / Related Issues
In debug, Visual sSudio stops at a Win32Exception necessary to know if the recycle bin can be used. This pr disables Visual Studio stops for this exception.
Validation
How did you test these changes?