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

Can't set breakpoints in lldb-mi

Open dschaefer opened this issue 6 years ago • 4 comments

We've been using -break-list to get the list of current breakpoints and compare that to the list the client sends (which always seems to send the whole list). That MI command isn't available on lldb-mi by the looks of it. At any rate, we can't set breakpoints with lldb-mi.

dschaefer avatar May 23 '19 19:05 dschaefer

lldb-mi is not really a thing anymore - https://lists.llvm.org/pipermail/lldb-dev/2019-August/015357.html - the referenced lldb-mi github repo hasn't had any commits in > 1 year.

A different solution is needed for lldb than relying on the mi interface.

jonahgraham avatar Jan 31 '23 02:01 jonahgraham

Since that announcement lldb-mi has been kept alive - see https://github.com/lldb-tools/lldb-mi - while there was a long period of no maintenance it is now maintained again.

jonahgraham avatar May 14 '25 13:05 jonahgraham

Ever think of using lldb-dap? We're using it with Swift in vscode. :). Though I guess this adapter is specifically for gdb.

dschaefer2 avatar May 14 '25 14:05 dschaefer2

I haven't looked at it - thanks for the tip.

jonahgraham avatar May 14 '25 14:05 jonahgraham