E.4.1. Column resizing

When using the Code window, the following views use two columns to display debug data:

Note

You cannot change the size of columns in the Resource Viewer.

To make the display easier to read, you can change the size of the first column using a new menu option available only on Red Hat Linux:

  1. Select Reload Image to Target from the Target menu to reload the image dhrystone.axf.

  2. Click the Locate PC button on the Debug toolbar to view the source file dhry_1.c.

  3. Set a simple breakpoint by double-clicking on line 183.

  4. Click Run to start execution.

  5. Enter 5000 when asked for the number of runs.

    The program starts and then stops when execution reaches the breakpoint at line 183. The red box marks the location of the Program Counter (PC) when execution stops.

  6. If you do not have a Watch view visible, select Watches from the View menu to display the Watch view.

  7. Right-click somewhere in the header columns to display the context menu, shown in Figure E.1.

    Figure E.1. Column resizing in the Watch view

    Column resizing in the Watch view

  8. Select the option Set Width Of Column 1 to display the prompt box where you can specify the size you want, shown in Figure E.2.

    Figure E.2. Column resizing prompt box

    Column resizing prompt box

    When the prompt box first appears, it contains the current setting. Enter a value between 1 and 128.

  9. Either:

    • Click Set to confirm the new setting.

    • Click Cancel to leave the size unchanged.

Note

You can use the normal column resizing controls on the Symbols view and the Connect to Target window.

If you resize columns be aware of the following:

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential