Evaluation requires a thread to run temporarily. Use the Watch window to perform the evaluation

后端 未结 4 1230
长情又很酷
长情又很酷 2020-12-11 01:40

I\'m completely stuck. I\'m testing MetaTrader API and getting next error when tries to run a method in the Immediate Window of VS 2010:

A first chance e

4条回答
  •  情话喂你
    2020-12-11 02:09

    I believe that error means that the method you are trying to execute is spawning a thread. However, since the program is in Break mode, it can't run. To avoid a deadlock (where the method will wait forever for a thread that won't run), Visual Studio kills any spawned threads.

    My suggestion is to move the call into the program, and use some other means to execute it.

提交回复
热议问题