none
The function evaluation requires all threads to run

    Question

  • Hi, 

    I am getting the error "The function evaluation requires all threads to run". I tried all the threads regarding this error but not able to solve my issue.

    The scenario is that, I am using background worker and calling the another 3rd party dll and that dll is sending this error.

    Is there something, I can do, by running the call from background worker and calling the function also.

    The error is returning only when it is being called from Background worker not directly.

    Thanks
    Gaurav


    Gaurav Gupta

    Friday, January 3, 2014 12:19 PM

Answers

  • This isn't an error in and of itself, but more of a feature of your debugger.

    Some properties require code to be executed in order for the property to 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.

    Direction to do so is even depicted in Kunal G's helpful link (which is also the first hit when searching the web for your error.):


    • Edited by Wyck Friday, January 3, 2014 4:06 PM
    • Marked as answer by Eason_H Friday, January 10, 2014 8:35 AM
    Friday, January 3, 2014 4:06 PM
    • Marked as answer by Eason_H Friday, January 10, 2014 8:35 AM
    Friday, January 3, 2014 1:16 PM

All replies

    • Marked as answer by Eason_H Friday, January 10, 2014 8:35 AM
    Friday, January 3, 2014 1:16 PM
  • This isn't an error in and of itself, but more of a feature of your debugger.

    Some properties require code to be executed in order for the property to 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.

    Direction to do so is even depicted in Kunal G's helpful link (which is also the first hit when searching the web for your error.):


    • Edited by Wyck Friday, January 3, 2014 4:06 PM
    • Marked as answer by Eason_H Friday, January 10, 2014 8:35 AM
    Friday, January 3, 2014 4:06 PM