You can access the debugger's command history to execute repetitive commands more easily.
History in a command list is not limited by braces, but goes all the way back. For example:
idb) print 1
1
(idb) stop at 182 { print 2; history 3 }
[#1: stop at "src/x_list.cxx":182 { print 2; history 3 }]
(idb) run
2
11: print 1
12: stop at 182 {print 2; history 3}
13: run
[1] stopped at [int main(void):182 0x08051603]
182 List<Node> nodeList;
NoteCommands in breakpoint action lists are not entered into the history list.
Copyright © 1996-2010, Intel Corporation. All rights reserved.