As someone who does many data driven projects I make a lot of use of the Processing Table object. But debugging a Table is always a very awkward exercice. Each time I have to write little helper methods like these:
println(table.getColumnTitles());
for (TableRow row : table.rows()) {
for (int i = 0; i < row.getColumnCount(); ++i) {
print(row.getString(i) + " ");
}
println();
}
… to get a sense of what's happening to my data.
It would be very nice if Processing Tables and TableRows had a build-in method that outputs the contents of these objects as a nicely formatted string or console output.