Limit the number of consecutive, identical array elements the debugger prints.
set print repeats threshold
threshold |
The maximum number of consecutive, identical array elements the debugger prints. The default value is 10 |
This command limits the number of consecutive, identical array elements the debugger prints. When the number of such elements exceeds threshold, instead of printing the elements, the debugger prints repeats n times, where n is the number of repetitions.
When threshold is 0, the debugger prints all consecutive, identical array elements.
(idb) p pBig $1 = "011111211111333333333", '1' <repeats 40 times> (idb) set print repe 2 (idb) p pBig $2 = "0", '1' <repeats 5 times>, "2", '1' <repeats 5 times>, '3' <repeats 9 times>, '1' <repeats 40 times> (idb)
Copyright © 1996-2010, Intel Corporation. All rights reserved.