Visual Studio 2015 Debugging: Can't expand local variables?

Erica Stockwell-Alpert

I'm using Visual Studio 2015 preview, and I'm trying to debug my project. I was using VS 2012 previously, and depended largely on being able to hover over and expand local variables to look at their values. I'm trying to do this in 2015 now, but when I hover over a variable, the box that shows up only says "(local variable) Classname variablename" (e.g. "(local variable) String title"). There is no expand button, and it doesn't show the value of the variable in the box.

Is there a setting I have to change in order to be able to hover over variables and expand them?

Andrew Arnott

It might be a bug. Please file a Connect bug with a repro if you have one.

In the meantime, you might be able to workaround the problem by setting the debugger options to use the legacy debug engine: Tools -> Options -> Debugging -> General: check both "Use the legacy C# and VB expression evaluators" and "Use Managed Compatibility Mode".

That workaround has worked for me every time. But please, do still file the bugs!

Options window

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Visual studio Debugger can't see parameters or local variables when debugging a third party decombiled code using dotPeek

From Dev

Upgrade to Visual Studio 2015 and now can't hit break points in debugging

From Dev

Upgrade to Visual Studio 2015 and now can't hit break points in debugging

From Dev

Can't see class-level variables when debugging in Visual Studio 2013

From Dev

Can't see class-level variables when debugging in Visual Studio 2013

From Dev

Visual Studio 2015 Debugging vs Not Debugging Views

From Dev

Visual Studio 2015 Debugging not stopping at breakpoints

From Dev

Visual Studio 2015 locks DLL during debugging

From Dev

Visual studio 2015 not responding while debugging

From Dev

Is there Visual Studio 2015 Debugging step skipping?

From Dev

Visual studio 2015 debugging with older dlls

From Dev

Visual Studio 2015 debugging annoying boxes

From Dev

Can't step over code in Visual studio while debugging

From Dev

NuGet can't resolve a dependency when updating a local package with dependencies from online repositories using Visual Studio 2015 Update 1

From Dev

Breakpoints don't work while debugging native Android library in Visual Studio 2015

From Dev

Can't get rid of item in Visual Studio 2015

From Dev

Can't find my "Find in Files" window in Visual Studio 2015

From Dev

Can't install NuGet package on a blank solution in Visual Studio 2015

From Dev

Visual Studio 2015 can't build Windows 10 universal app?

From Dev

Why can't I create Shared Project in Visual Studio 2015?

From Dev

Visual Studio 2015 Preview - Can't commit with Git

From Dev

Can't uninstall Visual Studio 2015 RC Community

From Dev

Can't find windows 10 emulators in Visual Studio 2015

From Dev

Can't open Package.appxmanifest in Visual Studio 2015

From Dev

Can't create Xamarin UWP project in visual studio 2015

From Dev

Visual studio 2015 can't add Service Reference

From Dev

Can't open database in MVC project Visual studio 2015

From Dev

Visual Studio 2015 can't reassign keyboard shortcuts

From Dev

Visual studio professional 2015 - can't connect to VSO - SplitterDistance error

Related Related

  1. 1

    Visual studio Debugger can't see parameters or local variables when debugging a third party decombiled code using dotPeek

  2. 2

    Upgrade to Visual Studio 2015 and now can't hit break points in debugging

  3. 3

    Upgrade to Visual Studio 2015 and now can't hit break points in debugging

  4. 4

    Can't see class-level variables when debugging in Visual Studio 2013

  5. 5

    Can't see class-level variables when debugging in Visual Studio 2013

  6. 6

    Visual Studio 2015 Debugging vs Not Debugging Views

  7. 7

    Visual Studio 2015 Debugging not stopping at breakpoints

  8. 8

    Visual Studio 2015 locks DLL during debugging

  9. 9

    Visual studio 2015 not responding while debugging

  10. 10

    Is there Visual Studio 2015 Debugging step skipping?

  11. 11

    Visual studio 2015 debugging with older dlls

  12. 12

    Visual Studio 2015 debugging annoying boxes

  13. 13

    Can't step over code in Visual studio while debugging

  14. 14

    NuGet can't resolve a dependency when updating a local package with dependencies from online repositories using Visual Studio 2015 Update 1

  15. 15

    Breakpoints don't work while debugging native Android library in Visual Studio 2015

  16. 16

    Can't get rid of item in Visual Studio 2015

  17. 17

    Can't find my "Find in Files" window in Visual Studio 2015

  18. 18

    Can't install NuGet package on a blank solution in Visual Studio 2015

  19. 19

    Visual Studio 2015 can't build Windows 10 universal app?

  20. 20

    Why can't I create Shared Project in Visual Studio 2015?

  21. 21

    Visual Studio 2015 Preview - Can't commit with Git

  22. 22

    Can't uninstall Visual Studio 2015 RC Community

  23. 23

    Can't find windows 10 emulators in Visual Studio 2015

  24. 24

    Can't open Package.appxmanifest in Visual Studio 2015

  25. 25

    Can't create Xamarin UWP project in visual studio 2015

  26. 26

    Visual studio 2015 can't add Service Reference

  27. 27

    Can't open database in MVC project Visual studio 2015

  28. 28

    Visual Studio 2015 can't reassign keyboard shortcuts

  29. 29

    Visual studio professional 2015 - can't connect to VSO - SplitterDistance error

HotTag

Archive