Set a limit on the number of array elements to print.
set print elements num
num |
The number of elements to print. The default value is 200. |
This command sets a limit on the number of array elements to print, which may be useful in a case where the debugger is printing a large array. This limit also applies to the number of characters the debugger will print when printing the value of a char * variable.
If you set num to zero, there is no limit on the number of elements.
(idb) p pc $1 = (char *) 0x80485b8 "1234" (idb) set prin ele 2 (idb) p pc $2 = (char *) 0x80485b8 "12"... (idb)
Copyright © 2001-2011, Intel Corporation. All rights reserved.