JetBrains Rider 2024.2 Help

Value tracking

Value Tracking helps you investigate the value of a particular type and possibly determine how a certain incorrect value might have passed to a given point in your program, and where it might be passed next. This helps you investigate possible NullReferenceException, inappropriate behavior, and reasons why you get incorrect values.

Investigate value origins

  1. Place the caret at the name of a method, property, variable, field, parameter, and so on, whose value you want to investigate.

  2. Press Ctrl+Alt+Shift+A and choose Value Origin in the Inspect This list.

  3. In the Find window that opens, you can investigate possible origins of the value.

    Value origin hierarchy in the Find window

Investigate value destinations

  1. Place the caret at the name of a method, property, variable, field, parameter, and so on, whose value you want to investigate.

  2. Press Ctrl+Alt+Shift+A and choose Value Destination in the Inspect This list.

  3. The Find window opens where you can investigate possible destinations of the value.

    Value destination hierarchy in the Find window

If a node represents an element of a collection, it is marked with ThemedIcon.DfaCollection.Screen.(Gray).png; if there is a lambda expression, it is marked with ThemedIcon.DfaLambda.Screen.(Gray).png.

Last modified: 23 September 2024