"Show local variables values in editor" not working in Unity projects

Before I open a bug, I'd like to check if I'm the only one with this problem.

For the life of me, I can't get the "Show local variables values in editor" feature working with a Unity project (tried it with and without the Unity extension).

Every other project type works flawlessly (Console, Service Fabric, etc.) and shows variable values inline without a problem. But if I open a Unity project in VS, attach the debugger to the Unity editor and set a breakpoint, although I can debug flawlessly, local variable values aren't displayed inline. I made sure the feature was enabled in the settings and also tried things like de- and re-enabling it, suspending and resuming R# etc. No luck at all.

I can see the variables in the "Locals" window just fine, so the values can definitely be read.

 

Thank you very much and have a nice day.

0
3 comments

Hello Raffael!

 

Thank you for the feedback.

Could you please provide some sample solution and screenshot demonstrating the issue.

Thanks in advance!

0
Avatar
Permanently deleted user

Hello Angelina!

Sorry for taking so long to get back to you. I was always busy and never really found the time to create some proper projects demonstrating this problems and writing a more thorough bug report/reproduction instruction.

Here's an illustration of the problem:

When I make a console/azure service fabric/etc project and debug the project, ReSharper displays variable values inline while debugging:

However, when I have a Unity Engine project and am debugging that, variable values aren't displayed inline:

It's a real pity, at least for me, this is one of the most useful R# features.

I made a zip with a console demo project where inline variable value displaying works, as well as with a Unity project where it doesn't work. I also added detailed instructions in the readme.txt. as to how to exactly reproduce the problem, what tool versions I used, etc, etc.

You can find the file here: https://drive.google.com/open?id=1Zs6B6hENKgcy0KQQ42sTz5YeTU2kXx8Y

Please let me know when your developers got the file and no longer need access to it so I can delete it again.

Is this enough information for you to go on? If not, please let me know and I'll happily provide whatever else you need.

Thank you very much for your support and happy Holidays!

0

Thanks to Raffael corresponding issue is filed here - https://youtrack.jetbrains.com/issue/RSRP-473366.

0

Please sign in to leave a comment.