Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 Watch Evaluation Timed Out

While debugging and stepping through code, I tried to add a method to the watch window which takes a long time to evaluate (probably 20-30 sec as it involves network connectivity). After about 15 seconds however, I get "evaluation timed out" error.

I found the following solution which involves changing the registry value NormalEvalTimeout under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\Debugger to extend the timeout length:

How to keep Visual Studio debugger visualizers from timing out?

However I don't seem to have that entry in my registry (or any other timeout related entries for that matter). I also looked in the WOW64 regedit. I tried to create the NormalEvalTimeout entry from scratch but that had no effect.

Any ideas where to find the registry entry or if there is another way to do this with VS 2015? Thanks for the help.

Edit: here is the list of registry entries I have (on Windows Server 2012 R2): enter image description here

like image 326
amite Avatar asked Feb 22 '17 19:02

amite


1 Answers

As our previous discussions, we could make sure that it really has no the registry value NormalEvalTimeout under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\Debugger, and if you want to set the timeout value for other debugging windows, it also has the requirement for the Windows Environment. At least, we make sure that it doesn't have them in the windows server 2012 R2.

I help you report a feedback to the product team here for the two issues:

https://connect.microsoft.com/VisualStudio/feedbackdetail/view/3125884/visual-studio-2015-watch-evaluation-timed-out

If possible, you could vote and add your comments in that connect report. The product team experts would share us the updated information here:)

like image 163
Jack Zhai-MSFT Avatar answered Oct 17 '22 00:10

Jack Zhai-MSFT