Function evaluation timed out when examining variables in debug/stepping through

前端 未结 2 1565
伪装坚强ぢ
伪装坚强ぢ 2021-01-01 10:48

When debugging/stepping through code, and I try to examine a variable in the watch, I get errors for every inner-variable stating function evaluation timed out.

Does

2条回答
  •  一整个雨季
    2021-01-01 11:44

    The most likely cause of this problem is an implicit evaluation of a property or ToString method which causes an issue with the CLR evaluation thread. To verify this turn off implicit evaluation.

    • Tools -> Options
    • Debugging
    • Uncheck "Enable property evaluation and other implicit function calls"

    Then restart your scenario and see if it works.

提交回复
热议问题