Skip to content
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

Cross-platform GUI debugger #101

Open
test9753 opened this issue Feb 27, 2017 · 4 comments
Open

Cross-platform GUI debugger #101

test9753 opened this issue Feb 27, 2017 · 4 comments

Comments

@test9753
Copy link

The current GUI debugger seems to be written specifically for Windows OS. Is it possible to have a cross-platform (Windows/Linux/macOS) GUI debugger?

@evangreen
Copy link
Collaborator

Hi test9753. Probably the first step would be having the command line version be cross-platform. There's just a little work left to allow non-Windows machines to access and configure a serial port.

I would love a cross-platform GUI debugger. The thing that holds me up is that right now the OS repository has no external dependencies except for the compiler and iasl (the ACPI compiler). I'm hesitant to add a new dependency on something like Qt or some other cross-platform GUI framework, as it makes the build environment more difficult to set up and maintain.

It also occurs to me that the debugger is mostly a text-based tool. I wonder if we could get 90% of the way there with some ncurses-like frames/panes for displaying the source and/or profiling info. Thoughts?

@test9753
Copy link
Author

test9753 commented Feb 28, 2017

I wonder if the debugger can be written as a web application (for e.g.: Radare2).

Python with Tkinter GUI library comes pre-installed in macOS and is easily installed in linux/*BSD/Windows. The Pyserial library may be useful.

The libui library ("a portable GUI library for C") may be of interest too.

The TUI mode in gdb (based on ncurses) never worked reliably for me. While the gdb interface can be pimped up (for e.g.: gdb-dashboard), its still not very flexible/usable for me.

@test9753
Copy link
Author

test9753 commented Mar 2, 2017

Found this browser-based frontend to gdb: gdbgui

@evangreen
Copy link
Collaborator

I think I like that gdbgui approach. The command line version has the primary functionality, and then a separate GUI wrapper app interacts with the command line. Poking around gdbgui turned me on to GDB's "machine interface" mode, which sounds like a great way to create a GUI wrapper interface.

I probably won't be able to get to this anytime soon, but I think the idea is appealing and the approach is sound.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants