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

"Evaluation timed out" error. #25

Open
Giorgi opened this issue Feb 21, 2024 · 8 comments
Open

"Evaluation timed out" error. #25

Giorgi opened this issue Feb 21, 2024 · 8 comments

Comments

@Giorgi
Copy link
Owner

Giorgi commented Feb 21, 2024

For queries that take more time, I get an "Evaluation timed out" error. Is the time-out period something that can be configured?

image

Originally posted by @Valdas3 in #17 (comment)

@Giorgi
Copy link
Owner Author

Giorgi commented Feb 21, 2024

@Valdas3 I'm not sure but I'll check. How long does it take approximately for the error to pop up?

@Valdas3
Copy link

Valdas3 commented Feb 21, 2024

It takes about 5 seconds for the error to appear.

@Giorgi
Copy link
Owner Author

Giorgi commented Feb 21, 2024

You can try the workarounds described in this question but I'll also see if there is anything I can do to keep VS from timing out.

@LIANGBIN9420
Copy link

请问会考虑支持sqlsugar吗?

@HenrikHoyer
Copy link

HenrikHoyer commented May 14, 2024

I got this variation of the bug for a long running query:

Evaluating the function 'Microsoft.VisualStudio.DebuggerVisualizers.DebuggeeSide.Impl.ClrCustomVisualizerDebuggeeHost.TransferData' timed out and needed to be aborted in an unsafe way. This may have corrupted the target process.

If the problem happens regularly, consider disabling the Tools->Options setting "Debugging->General->Enable property evaluation and other implicit function calls" or change the code to disable evaluation of this method. See help for information on doing this.

Tried the workaround you mentioned, but it didn't help

@Giorgi
Copy link
Owner Author

Giorgi commented May 14, 2024

First of all, thanks for sponsoring me. Unfortunately, there does not seem to be a way to increase the 5-second limit either programmatically or from settings, so there isn't much I can do. Is there any way you could reduce the query time?

@HenrikHoyer
Copy link

No problem, you Extension is still a great timesaver. For slow queries I just (still) manually copy/paste the query and run it in SSMS

@Giorgi
Copy link
Owner Author

Giorgi commented May 14, 2024

One thing that I could do, is always show the generated query even if query plan extraction fails. That way you will be able to, at least. copy the query easily.

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

No branches or pull requests

4 participants