Design a site like this with WordPress.com
Get started

Visual Studio during Debugging: The function evaluation requires all threads to run

Cause

This isn’t an error in and of itself, but more of a feature of your debugger. Some properties require code to be executed so that the property can be read, but if this requires cross-thread interaction, then other threads may have to run as well. The debugger doesn’t do this automatically, but certainly can, with your permission. Just click the little evaluate icon and it will run your code and evaluate the property.

Solution

Just click the little evaluate icon at the right and it will run your code and evaluate the property.

Advertisement

One thought on “Visual Studio during Debugging: The function evaluation requires all threads to run

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: