How to see Return Values

When debugging, I have been unable to get Rider to show me values returned from functions.

I have clicked on the 3 dots → Debugger settings and have picked “Show Function return values”, as you can see in the attached  screenshot.
.
However, while executing, I never see any returned values in the variables tab.  Does anyone know what I need to do?

0
1 comment

Hello,

Thank you for contacting Rider support and for your question.

Due to native debugger limitations used by Rider (lldb), this feature works different in Unreal Engine/C++ projects. Unfortunately, the return value is reported only on Step Out of the method. In other words: it works in two following scenarios:

  • Breakpoint inside a method is hit, press the Step Out button;
  • Execution is stopped on sample method invocation: press Step In, then Step Out; 

Hope that helps. Should you have any other questions or difficulties, please let me know.

Have a nice day!

0

Please sign in to leave a comment.