-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
different color for recently updated watch expressions? #24
Comments
(Obviously the color would change back, such that only variables changed since the last update are differently colored) |
That would be a cool feature, but unlike the registers expressions (but also arguments, locals and values from the history) may evaluate to complex values like arrays and structs. The question is, assuming to have these changes:
what should be highlighted, the whole line or the single item? The former is easier to implement but also less effective, whereas the latter would be great but it would likely require a deeper knowledge of what a value is, i.e., not just a string. As a side note, the more work is performed within a module the more the more evident will be the blanking effect you noticed in #25. Let me see if I can come up with a reasonable solution... |
To be entirely honest, I hadn't thought of that because I don't tend to use watch expressions on arrays or structs. So, for me the tldr response is "The whole line" :) The longer version: That said, I'm sure yourself and others may find it useful to watch some smaller structs/arrays in gdb-dashboard and would appreciate individual member highlighting. |
Yup, you're right! On the other hand GDB dashboard is doubly disadvantaged if compared to standalone solutions, not only it offers a terminal-based interface, it is doomed to live between two consecutive GDB prompts. :) |
Would it be possible to change the color of watch expression lines that have changed since the last update?
The text was updated successfully, but these errors were encountered: