User forums > Using Code::Blocks

GDB 14.1

(1/1)

Wkerry:
GDB 14.1 is out and it supports DAP like Visual Studio code. Are there any plans to support DAP as it seems to be the way forward.

tomazzi:

--- Quote from: Wkerry on December 29, 2023, 11:10:59 pm ---GDB 14.1 is out and it supports DAP like Visual Studio code. Are there any plans to support DAP as it seems to be the way forward.

--- End quote ---
Hopefully no - it would be a disaster.
Currently C::B supports only the GDB "terminal" interface - it's simulating the commands as if they were issued from the shell to GDB.
This works fine (in most cases), but DAP is basically a JSON, and i must admit that I'm shocked - what an idiot came to the conclusion that JSON is a viable solution? - it's a complete disaster when it comes to performance - if CB team would decide to use this shit, then I'll simply fork the CB project and use my own version - seriously.

Wkerry:
Allot of IDE's have support for DAP including very obscure ones.

You will need allot of help with forking all of the IDE's that currently support DAP if you want to stay away from DAP.

tomazzi:

--- Quote from: Wkerry on December 30, 2023, 02:20:03 am ---Allot of IDE's have support for DAP including very obscure ones.

You will need allot of help with forking all of the IDE's that currently support DAP if you want to stay away from DAP.

--- End quote ---
Serious debugging is happening on JTAG, and not on source-level debuggers ;)

DAP is forced by MSFT, and I'm guessing that it have landed in GDB only because it was sponsored - a traditional way for EEE (IMO) - in any case, it's not a game changer from technical point of view ...

Regards

Wkerry:
DAP is a game changer. Just like POSIX is.

Navigation

[0] Message Index

Go to full version