共用方式為


Debugging Optimized Code

At one point or another, you run in the situation where you need to debug an application that makes use of optimized binaries, as is the case with WPF binaries.

Although you have the right symbols, and even have source code (through Source Server or other means), you can't see values in Visual Studio, which frustratingly reports that them as "unavailable".

Shawn Burke posted a great blog entry that explains, step by step, how to work around the issue. I hope it proves useful to others!