Equivalent of Visual Studio Context Operator in Debugger?

For C++ Visual studio has this feature called the Context Operator that allows you to qualify a variable name in the watch window in case the debugger can't automatically find it. It's very useful in large multi-module projects. Does Rider have an equivalent? Using the same syntax doesn't seem to work in my Rider watch.

I'll also add that I'm testing this in a UE4 project.

3 comments
Comment actions Permalink

Hello Akamboj,

Thank you for contacting Rider support.
Syntax like {,,EXAMPLE.dll}expr is supported and should work. Please try typing expression using watches or Evaluate expression dialog. (see the screenshot)

If you experience any problems, please let me know.
Have a nice day!

0
Comment actions Permalink

Hi Dmitry! I figured out what was going wrong a few days, sorry I should have noted that in the thread!

I was using quotation marks around the dll name, and that wasn't working, but once I removed the quotes I started being able to observe the value in the watch window. 

0
Comment actions Permalink
Hello Akamboj,

I am happy to hear that we came up with a solution.
If there are no other questions, then I am going to proceed with archiving this ticket.

Should you have any other questions or difficulties in the future, do not hesitate to contact support.

Have a nice day!
0

Please sign in to leave a comment.