nakst / gf

A GDB frontend for Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature request: hover to inspect variables.

s4my opened this issue · comments

commented

This feature will work in conjunction with the inspect line mode or replace it altogether in the future. Much like in Microsoft Visual Studio, we display the value of variables in a popup when the user hovers over them. We may also add a pin button to send that variable to the Watch window (we can also add this feature to the inspect line mode).

With this method, we remove the friction introduced by the inspect line mode, which requires you to either issue the gf-inspect-line command or hit a keyboard shortcut, then navigate to the desired line every time you want to inspect a variable's value.

Let me know what you think.