show print repeats (gdb mode only)

Show the the current threshold of repeated identical elements that the debugger is set to print.

Syntax

show print repeats

Parameters

None.

Description

This command shows the current threshold of repeated identical elements that the debugger is set to print.

Example

The following example shows how the show print repeats command is useful for strings and arrays:

(idb)  show print repeats
Threshold for repeated print elements is 10.
(idb)  print a
$12 = "1122222333"
(idb)  set print rep 2 
(idb)  show print repeats
Threshold for repeated print elements is 2.
(idb)  print a
$13 = "11", '2' <repeats 5 times>, '3' <repeats 3 times>
(idb)  set print repeats 3 
(idb)  show print repeats
Threshold for repeated print elements is 3.
(idb)  print a
$14 = "11", '2' <repeats 5 times>, "333"
(idb) 

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.