简体   繁体   中英

Locals window empty (Visual Studio 2015)

I was working on a project just like usual. I run it and check my Locals window only to see it empty. I tried restarting VS and then my computer but it was without success. I tried opening another project and it didn't have that issue. I googled and came across many threads with similar issues. Most of them were VS 2008 or 2010 however.

I reinstalled Visual Studio 2015 only to find that all projects (that I checked (7)) have the same issue. I emptied the symbol cache, changed debugging and other settings as was suggested in some of the answers in other threads but all attempts have failed.

My Locals window:

在此处输入图片说明

General debugging settings:

在此处输入图片说明

If there's anything else I can grab a screenshot of that would help I'll gladly do so.

To view variable in the local window, add a breakpoint in your project, you could view it after the breakpoint is hit.

For the issue "Cannot find or open the PDB file", please enabled "microsoft symbol servers" under the TOOLS-> Options-> Debugging-> Symbols.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM