Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible

前端 未结 11 1578
执笔经年
执笔经年 2020-12-15 16:54

Here is the error

Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code

11条回答
  •  醉梦人生
    2020-12-15 17:26

    Here's a little trick just in case you want to examine some objects and you are not able to change the parameters:

    I've created a call to a new temporary function, inside the function from where I was unable to watch my object. Then, inside that new function I was able to watch my object. After the job is done, just delete the function.

提交回复
热议问题