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

Refactor code to allow web extension #328

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

asimgunes
Copy link
Contributor

@asimgunes asimgunes commented Jun 21, 2024

This commit restructures the code base to allow alternate launch methods
for the gdb/gdbserver executables by implementing new interface
IGDBBackendFactory and providing an alternate implementation.

The major version number is bumped to indicate to API consumers that their
may be significant API changes. While there are large API changes, there
is no functionality change for the desktop flow, which continues to use
node's child_process package to spawn subprocesses.

@asimgunes

This comment was marked as outdated.

@jonahgraham jonahgraham changed the title Web optimisation for update for cdt-gdb-adapter Refactor code to allow web extension Sep 11, 2024
@jonahgraham jonahgraham changed the base branch from adapter-on-the-web to main September 11, 2024 23:26
This commit restructures the code base to allow alternate launch methods
for the gdb/gdbserver executables by implementing new interface
IGDBBackendFactory and providing an alternate implementation.

The major version number is bumped to indicate to API consumers that their
may be significant API changes. While there are large API changes, there
is no functionality change for the desktop flow, which continues to use
node's child_process package to spawn subprocesses.
@jonahgraham jonahgraham merged commit 590fea5 into eclipse-cdt-cloud:main Sep 11, 2024
4 checks passed
jonahgraham added a commit to jonahgraham/cdt-gdb-vscode that referenced this pull request Sep 11, 2024
@jonahgraham
Copy link
Contributor

@asimgunes this has been merged and published as "next" tag to npm. There is a draft PR in the extension:

jonahgraham added a commit to jonahgraham/cdt-gdb-vscode that referenced this pull request Dec 4, 2024
Includes:

- Refactor code to allow web extension
  - eclipse-cdt-cloud/cdt-gdb-adapter#328
- Improved handling of ContinuedEvent
  - eclipse-cdt-cloud/cdt-gdb-adapter#335
- Ensure 'interrupt' and 'disconnect' signals are sent before '-gdb-exit'
  - eclipse-cdt-cloud/cdt-gdb-adapter#338
- Add API to pause target and wait for debugger to be suspended
  - eclipse-cdt-cloud/cdt-gdb-adapter#339
jonahgraham added a commit to jonahgraham/cdt-gdb-vscode that referenced this pull request Dec 4, 2024
Includes:

- Refactor code to allow web extension
  - eclipse-cdt-cloud/cdt-gdb-adapter#328
- Improved handling of ContinuedEvent
  - eclipse-cdt-cloud/cdt-gdb-adapter#335
- Ensure 'interrupt' and 'disconnect' signals are sent before '-gdb-exit'
  - eclipse-cdt-cloud/cdt-gdb-adapter#338
- Add API to pause target and wait for debugger to be suspended
  - eclipse-cdt-cloud/cdt-gdb-adapter#339
@asimgunes asimgunes deleted the optimise-for-web branch January 28, 2025 14:15
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

Successfully merging this pull request may close these issues.

2 participants