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

Look into DAP support. #80

Open
epasveer opened this issue Aug 9, 2022 · 5 comments
Open

Look into DAP support. #80

epasveer opened this issue Aug 9, 2022 · 5 comments

Comments

@epasveer
Copy link
Owner

epasveer commented Aug 9, 2022

From a Reddit user:

I think a rewrite of this project using the DAP (Debug Adapter Protocol) as the interface between the GUI and the debugger could be industry changing.

The DAP is pretty meh at the moment since it was designed with the needs of web debugging in mind and not native debugging. Thus much that you'd expect from gdb/lldb based debuggers is missing (e.g. the command interpreter support) and the maintainers aren't interested in feature requests without example implementations.

Taking this exact project and gutting the MI components and using only the DAP and then extending the DAP protocol to support the features missing here could make this the de facto industry standard debugging experience beyond even gdb/c++.

Also, where's the strong Linux coupling? Qt + gdb-mi are both platform agnostic.

https://www.reddit.com/r/cpp/comments/wjoi6b/seer_a_new_gui_frontend_to_gdbmi_updated_v18/

@epasveer
Copy link
Owner Author

epasveer commented Apr 3, 2023

@epasveer
Copy link
Owner Author

I'm going to close this task. I don't think DAP is in my future any time soon.

DAP seems to be a "mi" alternative. "mi" being the 'api' that Seer and other frontends use to talk to gdb. DAP seems to be JSON based. "mi" is more Python dictionaries/lists/sets.

Also, even though the link says it's ready in the latest gdb, it isn't. Maybe it's there in Window's version of gdb.

So, for now, I'll close this task.

@lanza
Copy link

lanza commented May 24, 2024

Any thoughts on this topic? gdb now supports the DAP (along with many other debuggers).

@epasveer epasveer reopened this May 24, 2024
@epasveer
Copy link
Owner Author

I've re-opened this task. For my reference, he's gdb's info on DAP support.

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Debugger-Adapter-Protocol.html

I'll take a look at it when I can.

@epasveer
Copy link
Owner Author

epasveer commented Jul 4, 2024

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

No branches or pull requests

2 participants