Post

Return Value Displayed in Debugger

Return Value Displayed in Debugger

Visual Studio just added a long-awaited feature to its debugger: inline return values for return statements.

Return value in debugger

Here’s why this small change is a big win for devs:

  1. Instant Insight at Return Points
    Now, when you step through your code, the debugger will show the values returned by functions directly next to each return statement. No more hunting through watch windows or waiting until the next line to see return values—you’ll get them right where they happen.

Source

For more information, check out the original announcement on X/Twitter.

This post is licensed under CC BY 4.0 by the author.