gdbgui icon indicating copy to clipboard operation
gdbgui copied to clipboard

Source file search overlay similar to sublime/atom/chrome debugger's ctrl+p

Open chenlijun99 opened this issue 7 years ago • 4 comments

Hi,

I was just wondering whether gdbgui provides a way to quick access the source files of the binary, maybe through fuzzy search. For example chrome debugger supports this with Ctrl+p.

AFAIK the source files are retrievable from gdb with the info source command.

chenlijun99 avatar May 11 '18 05:05 chenlijun99

Sorry for not paying enough attention to the screencast. This feature is already available.

chenlijun99 avatar May 12 '18 12:05 chenlijun99

Currently it's not so pleasant to use though, compared to the quick access menu that chrome debugger supplies. screenshot from 2018-05-12 17-07-19

If the paths of files are quite long, I can't see the full path. IMHO it would be more user friendly to have the suggestion menu overlay all the windows. The autocomplete suggestions menu shouldn't be cut by the edge of the window in which it resides.

chenlijun99 avatar May 12 '18 15:05 chenlijun99

Originally the source file input was a long bar that went across the entire window (underneath the input to enter the executable). When I created the file tree viewer, I moved it, but it is now in a smaller pane. Have you tried resizing the far left pane? Probably not ideal, but it might help.

cs01 avatar May 28 '18 20:05 cs01

Resizing the pane could be a temporary workaround, but it's kind of hassling. Anyway, thank you for the help.

chenlijun99 avatar May 29 '18 09:05 chenlijun99