Dev Tip: Preview Data in Table Format While Debugging

Debugging is a crucial part of software development, and understanding the data being returned during this process is essential. Elizabeth Sumalde, a Senior OutSystems Developer, shares a practical tip on how to preview data in a table format while debugging. This method simplifies the process of viewing and understanding data structures, making your debugging process more efficient.

In this example, we have a ticket, which is an entity, and ticket messages, also an entity but returned as a list. Additionally, we have a text list and other data types. Here’s how you can preview this data in a table format:

Viewing Data in Structure:

  • Expand the main structure to view its contents.
  • For detailed inspection, expand each record within the structure.
  • Similarly, for lists, open them to see all contained records

 

Using Table View:

  • Instead of manually expanding each record, you can double-click to get a table view.
  • This table view displays all records at once.
  • Scroll down to the end of the table view to see the lists within the structure.

 

Detailed Inspection:

  • In the table view, click on the ellipsis (…) to see all records in a list.
  • For entities, a single click shows both the list and its details.

 

This method is especially useful when dealing with complex data structures. By double-clicking to access the table view, you can quickly and easily see all the data and its details. This approach not only saves time but also ensures you don’t miss any important information.

Want to learn more valuable Dev Tips?  Sign up for our newsletter and stay updated with the latest insights! Also, don’t forget to check out our upcoming OutSystems courses to scale your career.

A selection from our recent work