cs01 / gdbgui

Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
https://gdbgui.com
GNU General Public License v3.0
9.89k stars 499 forks source link

add browse button for executable selection #167

Open g40 opened 6 years ago

g40 commented 6 years ago
  1. Have a browse to button for the executable/image file
  2. Convert Windows path delimiters to '/' or double escape them. Make it much easier to paste a path from Windows Explorer.
  3. Have a mechanism for running (for example) openocd before firing up the rest of the stack? It would be nice to have all of this stored somewhere in a config file - maybe there is one.

I know I could script some of this but if it is all under gdbgui's control it can make sure processes shutdown correctly etc. on Ctrl+C

Thanks. Is there a secret sign to let you know I have contrbuted? :)

Describe your environment
cs01 commented 6 years ago

Have a browse to button for the executable/image file

Noted, will add to my TODO list

Convert Windows path delimiters to '/' or double escape them. Make it much easier to paste a path from Windows Explorer.

I will add conversion from backslash to forward slash when the detected platform is windows.

Have a mechanism for running (for example) openocd before firing up the rest of the stack? It would be nice to have all of this stored somewhere in a config file - maybe there is one. I know I could script some of this but if it is all under gdbgui's control it can make sure processes shutdown correctly etc. on Ctrl+C

Adding this sort of thing seems like feature creep. I haven't used OpenOCD, but isn't something like openocd && gdbgui; pkill openocd possible?

Is there a secret sign to let you know I have contrbuted? :)

Noted :smile: and thank you! Keep the suggestions coming, I always read them and almost always add them into program.

I will leave this issue open until I finish adding the browse button and path transformation.

g40 commented 6 years ago

Cheers. Re #3 - as usual it is a lot more complex on Windows.

cs01 commented 6 years ago

2 has been fixed in v0.11.1.1.