Evaluating the function 'function' timed out : <p>Environment:  Visual Studio 2017 version 15.5.2</p>

<p>Error:</p>

<blockquote>
  <p>Evaluating the function 'function' ("Windows.Controls...ToString" in my case) timed out and needed to be aborted
  in an unsafe way.</p>
</blockquote>

<p>Answers say this commonly occurs when </p>

<blockquote>
  <p>Options > Debugging > General > enable property evaluation > is
  enabled.</p>
</blockquote>

<p>I disabled this. Problem still happens. Microsoft <a href="https://msdn.microsoft.com/en-us/library/mt772252.aspx" rel="noreferrer">presents</a> a few options to solve this including </p>

<ul>
<li>Prevent the debugger from calling the getter property or ToString
method (In my case this is 3rd party code)</li>
<li>Have the target code ask the debugger to abort the evaluation (I don't know what this means.  It strikes me as "just ignore it")</li>
</ul>
