eclipse-cdt-cloud / cdt-gdb-adapter

CDT GDB Debug Adapter
Eclipse Public License 2.0
30 stars 40 forks source link

Refactor code to allow web extension #328

Closed asimgunes closed 3 weeks ago

asimgunes commented 3 months ago

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 commented 3 months ago

Hi @jonahgraham ,

I made the base class updates that we discussed earlier. Could review the latest changes when you are suitable?

jonahgraham commented 3 weeks ago

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