nakst / gf

A GDB frontend for Linux.
MIT License
1.82k stars 61 forks source link

Single log window #52

Open nakst opened 3 years ago

nakst commented 3 years ago

Instead of having watch logger open in separate data windows, make a single, unified log window. This allows the relative times of logged events to be tracked. It could also contain logs for every time a line is executed (storing also the backtrace and expressions to evaluate), and perhaps also data from the log pipe.

It could allow for sorting and filtering, and possibly even something like SQL queries. And perhaps once there's infrastructure for tables with sorting and filtering, the technology could be used for inspecting an array of structures.

nakst commented 3 years ago

Although, there are things you might want to do specific to a single log. For example, plot a graph, view maximum, minimum, average. You'd want to be able to do that for any expression-to-evaluate as well.