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;
Commands in breakpoint action lists are not entered into the history list.
Copyright © 2001-2011, Intel Corporation. All rights reserved.