Tuesday, July 29, 2014

Cannot obtain value of local or argument as it is not available at this instruction pointer, possibly because it has been optimized away.

Hi All I couldn't debug my C# class library project due to this issue for last few month. So this is the fix. 1. Right mouse click on the project which you have the issue with debugging. And go to properties. And click on build menu item.
2. Click on advanced option button.
3. Set debug info to full.



 Happy coding fellows!

2 comments:

  1. The error message "Cannot obtain the value of local" typically Future Digital Marketing occurs in a programming context and is related to debugging or inspecting variables.

    ReplyDelete