JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Visualize data structures

Last modified: 21 February 2024

When debugging, JetBrains Rider lets you visualize data structures in your code in a tabular form. This helps you quickly understand the structure, contents, and transformations of your data. It simplifies the process of understanding complex patterns in your code, which ultimately enhances your debugging efficiency.

Imagine that in the debugging context you have orders variable that contains the results of a database query, and you want to study the contents of this variable. One way to approach this would be to use the Evaluate Expression dialog and write different expressions involving orders.

A much more convenient way is to explore the contents visually in a tabular view. To do so, we can locate the orders variable in the Debug window and click View next to it:

JetBrains Rider: Open tabular visualization for a complex variable

This will open the Collection view dialog displaying the variable contents:

JetBrains Rider: Tabular visualization for a complex variable

The dialog works as a familiar table viewer with all typical features.

Depending on the value of the Limit page size to parameter, the result set might be divided into several pages. For example, you set the Limit page size to parameter to 100, but your query returned 200 rows. You will have two pages of rows, with 100 rows on each page. To navigate between pages, use the following controls: