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

Supporting web debugging with cdt-gdb-adapter #327

Open
asimgunes opened this issue Jun 21, 2024 · 2 comments
Open

Supporting web debugging with cdt-gdb-adapter #327

asimgunes opened this issue Jun 21, 2024 · 2 comments

Comments

@asimgunes
Copy link
Contributor

Hi all,

VSCode and Theia platforms support browser based environments and debug from browser operation. It would be good to improve cdt-gdb-adapter and make the package browser compilant. For this purpose, we (@jonahgraham , @asimgunes) are planning to propose an improvement for cdt-gdb-adapter. The main goal is to create a browser entrypoint which exports browser compilant GDBDebugSession and GDBTargetDebugSession classes.

Main scope of the proposed update:

  • Export a browser entrypoint.
  • Export browser compilant GDBDebugSession and GDBTargetDebugSession classes.
  • Leave browser based gdb/gdbserver process managament (starting, stopping and communicating with the processes) out of context.
  • Provide injection points to handle gdb/gdbserver processes separately.

I would be happy to discuss any concerns or suggestions.

Best regards
Asim

@tobiaskaestner
Copy link

Hi @asimgunes ,

just found this issue and looks like you have very similar ideas to what I am looking for. We want to use something supported by DAPlink for which some browser-compliant JS lib already exists (https://github.com/ARMmbed/dapjs). From some experiments I did with the Keil Cloud Studio IDE (which as far as I can tell builds upon Theia, too) I know that Debugging an embedded target, a NRF52840DK in my case, definitely works from the browser using nothing else but WebUSB.

I'd love to get in touch to better understand what you have already found out and how we might collaborate.

@jonahgraham
Copy link
Contributor

Hi @tobiaskaestner - we could schedule a special meeting on this, or you can join the regular developers call https://github.com/eclipse-cdt-cloud/cdt-cloud/wiki/CDT-Cloud-Meetings - please send me an email so we can move this along.

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

3 participants