在调试 framework项目时出现错误 :
Cannot obtain value of the local variable or argument because it is not available at this instruction pointer, possibly because it has been optimized away.
找到解决办法了,参考了这个链接 http://www.codingdefined.com/2014/07/c-cannot-obtain-value-of-local-or.html
原因是我publish时设置中选择了 Release 把其改为 Debug ,该错误消失。
参考:
https://stackoverflow.com/questions/8311303/cannot-obtain-value-of-local-or-argument-as-it-is-not-available-at-this-instruct
看过了,按照那些人说的,并没有解决我的问题。