Community
Participate
Working Groups
Our customers want a breakpoint action to run a debugger cli command like in console. It should be arbitrary command and no extra files are required (i.e. no reading from gdbini or any other files)
https://git.eclipse.org/r/#/c/68214
Gerrit change https://git.eclipse.org/r/68214 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=bb0ba6fd91e6ffd9bc657096d85a0ce73c401085
Hi Elena, Could you update the N&N for this new feature? I'm curious to know what was the outcome of the discussion :) Thanks
We decided not to pollute UI with multiple choice. Right now it is simple. User can enter debugger commands in the text box. It does not have to be gdb, debugger implemented must hook it up and interpret this script as they want. GDB implementation does not currently use gdb actions. But it simple injects the command divided by newline as CLI commands (through mi as console command). It will actually also work with mi commands if command starts with -. I will update N&N.
change was merged
https://wiki.eclipse.org/CDT/User/NewIn90#Breakpoint_Actions:_Debugger_Commands