eclipse-cdt-cloud / cdt-gdb-adapter

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

mi-async and non-stop modes #194

Closed jonahgraham closed 2 years ago

jonahgraham commented 2 years ago

This adds mi-async mode (on by default where supported) and non-stop mode (off by default). Fixes #28

It includes new parameters to override the defaults, see https://github.com/eclipse-cdt-cloud/cdt-gdb-vscode/pull/69 for more info on that part.

jonahgraham commented 2 years ago

@quyettrinhrvc Can you review this - this includes both the async work that I sent you previously and the non-stop work.

To enable non-stop mode, make sure that "gdbNonStop": true is specified when calling the appropriate launchRequest method.

Also see https://github.com/eclipse-cdt-cloud/cdt-gdb-vscode/pull/69 which is the package.json changes.

jonahgraham commented 2 years ago

As I believe the only outstanding question is about the version range for mi-asyn vs target-async I am merging this. If Renesas uses a non-standard version of GDB, we can make appropriate changes to the code on a subsequent update.

jonahgraham commented 2 years ago

This is now available in npm: https://www.npmjs.com/package/cdt-gdb-adapter/v/0.0.16-next.20220620151247.50e38d3.0