How to increase visualizer timeout for Visual Studio 2017

Viewed 812

This was answered for previous versions,

However in version 15 (VS2017), the same registries for increasing NormalEvalTimeout and QuickwatchTimeout are missing.

enter image description here

2 Answers

For newer versions of Visual Studio, this setting was moved to settings file. You should look to modify the LongEvalTimeout, NormalEvalTimeout and/or QuickwatchTimeout properties in the following file

C:\Program Files (x86)\Microsoft Visual Studio\YYYY\VERSION\Common7\IDE\Profiles\LANG.vssettings

Where

  • YYYY is the VS version (e.g. 2017 or 2019)
  • VERSION Enterprise or Professional
  • LANG is the programming language you want to change the setting for (e.g. CSharp, VB or VC)

For me, it was coming in Visual Studio 2017 and to fix that I tried this:

I enabled the following setting:

Debug > Options > "Use Managed Compatibility Mode"

enter image description here

Related