cdt-gdb-adapter icon indicating copy to clipboard operation
cdt-gdb-adapter copied to clipboard

[Feature Request]: Support GDB/MI breakpoint notifications

Open jreineckearm opened this issue 6 months ago • 0 comments

Problem

GDB/MI comes with a set of asynchronous breakpoint notifications. These announce changes to breakpoints. Currently, the CDT GDB adapter does not process and translate them into DAP breakpoint events. This causes a disconnect between the debugger backend and the GUI, for example if you use a GDB console command > break main.

Proposal

The CDT GDB adapter properly handles breakpoint related notifications and translates them into DAP breakpoint events.

Questions

One can see that some (not all) breakpoint related notifications are already mentioned in code. But are explicitly unhandled. Hence, there is a question about whether this is intentional and because of hard to overcome challenges? It is understood that the choice of breakpoint type might be one of those challenges.

Note that we currently explore feasibility of a solution. Hence, we'd be more than happy to continue this work (CC: @omarArm)

jreineckearm avatar Apr 25 '25 09:04 jreineckearm