1
Help / Re: Debugger lldb.exe exits without running target executable
« Last post by Pecan on Today at 09:38:38 pm »Thanks for your reply. As I understand it, there's no way to get the LLVM debugger to work with code::blocks (barring going into the C::B source code and implementing support). Is that correct?
There is already a debugger being developed for CodeBlocks that supports llvm.
The debugger_DAP source is at https://github.com/pecanh/debugger_DAP.
The setup for the debugger is the same as for debugger_gdb or debugger_gdbmi.
Once the plugin is loaded by CodeBlocks, a settings/debugger entry will appear and you will have
to set the location of your debugger (see attachment).
You also have to decide what flavor of breakpoint.symbols to use.
The ususal -g flag alone will not work for llvm.
You have to match the compiler with the gdb symbol types expected.
Look into the compiler setup for the llvm flag types.
Place the source of the debugger_DAP into the contrib plugin folder.
Review the .cbp file to fit your environment.
Compile and place the plugin into the output32_xx.plugin folder or into the devel32_xx folder to test.
You can use the regular debugger_gdb or debugger_gdbmi to debug debugger_DAP if necessary.
Recent Posts