Bug 489455 - Add new breakpoint action type to run arbitrary debugger command
Summary: Add new breakpoint action type to run arbitrary debugger command
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 9.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 9.0.0   Edit
Assignee: Elena Laskavaia CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-11 14:09 EST by Elena Laskavaia CLA
Modified: 2016-05-17 16:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elena Laskavaia CLA 2016-03-11 14:09:37 EST
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)
Comment 1 Elena Laskavaia CLA 2016-03-11 14:11:03 EST
https://git.eclipse.org/r/#/c/68214
Comment 3 Marc Khouzam CLA 2016-03-22 09:19:00 EDT
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
Comment 4 Elena Laskavaia CLA 2016-03-22 11:16:22 EDT
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.
Comment 5 Elena Laskavaia CLA 2016-05-17 16:06:42 EDT
change was merged