set width (gdb mode only)

Set the width of the screen.

Syntax

set width [num]  

Parameters

num

The screen width in characters.

Default: 0

Description

This command sets the width of the screen to num characters wide.

This command only applies when you are using the debugger in command-line mode. It has no effect when you are using the Console window in the GUI.

Screen width determines how many characters of output the debugger prints without wrapping. When the debugger prints a large amount of output, the output may scroll out of site. You can use this command to set the number of characters of output that the debugger prints before wrapping to the next line.

If you do not specify num, the debugger uses the default value 0, which prints all output without pausing.

You can also specify how many lines the debugger prints before pausing its output using set height.

To show the current width, use show width.

Example

(idb) set width 40
(idb) show width
Number of characters idb thinks are in a line is 40
(idb) set width 0
(idb) show width
Number of characters idb thinks are in a line is 0

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.