ReSharper 2024.3 Help

Editor Integration

ReSharper options: Tools | Debugger | Editor Integration

On this page of ReSharper options, you can configure ReSharper's debugging assistance in the editor.

Inlay editor hints

Display hints in

Here you can choose the font style for inline values:

ReSharper: inline values

Show local variables values

Shows or hides local variables in inline values.

Show current line expression values

Shows or hides line expressions in inline values.

Show function return values

Shows or hides function return values in inline values.

Show LINQ expression values

Shows or hides intermediate results in LINQ expressions.

ReSharper: Debugging intermediate results in a LINQ expression

Debugger DataTips

Override Visual Studio DataTips with ReSharper DataTips

ReSharper can optionally replace the Visual Studio DataTips with its own DataTips, which have a number of distinctions:

  • You can search for specific values in the current suspended-execution context. To do so, just start typing when the focus is in the DataTip. Note that the search will only find values in expanded nodes.

  • The DataTip disappears not when you remove the mouse pointer, but when you click anywhere outside the DataTip.

  • If a type neither has a meaningful ToString() override nor is it annotated with the [DebuggerDisplay] attribute, then the presentation of objects of this type in debugger views could be quite uninformative. In ReSharper DataTips, you can customize presentation of such objects on-the-fly. To do so, expand the type in the DataTip, right-click the desired data members and choose Highlight Property:

    ReSharper DataTips: Revealing values for debugged objects

Predictive debugger

Show predicted values

Use this checkbox to enable the predictive debugger.

Start predictive debugger automatically

When this option is enabled, ReSharper starts predicting values automatically as soon as the program breaks. In contexts with lots of variables, this may have a slight negative effect on stepping performance.

When this option is disabled, you will be able to click Run predictive debugger on the line with the current statement to run the predictive debugger from the editor when needed:

Last modified: 26 May 2024