# Set program preferences

To set program preferences, from the File menu, select Preferences. Use the tabs on the Preferences dialog to change program option:

## General tab

- Program environment: Automate the opening and saving of debugging environments.
  - Automatically open when debug starts: Select to automatically open the previous debugging environment when starting debugging operations. This option is selected by default.
  - Automatically save when debug ends: Select to automatically save the current debugging environment when ending current debugging operations. This option is selected by default.
  - Number of recent environments: Select a number from the list to set how many recently used environments you want to display under the Recent Environments option in the File menu.
  - Number of recent programs: Select a number from the list to set how many recently used programs you want to display under the Recent Programs option in the File menu.
- Source code view:
  - Number of spaces per tab: Select a number from the list to set how many spaces the cursor moves for each press of the Tab key. The default setting is 4 spaces per tab.
  - Double click speed: Adjust to select the speed at which two mouse clicks register as a double-click.

## Colors tab

- Category: You can set color preferences to highlight the location of the Program stop position. You can not change this value.
- Foreground: Select the foreground color that you want to use from the list.
- Background: Select the background color that you want to use from the list.

## Fonts tab

- Category: You can set font preferences for the Source code view. You can not change this value.
- Font: Select the font that you want to use from the list.
- Font size: Select the font size that you want to use from the list.
- Preview: Displays a sample of how your current selections appear.

## Key Bindings tab

- Changes the keyboard shortcuts for the different System Debugger menu selections. Select a menu option or key sequence that you want to change, then use the Key Sequence panel to make your changes.
  - Menu: This area contains a folder hierarchy that represents the System Debugger menus. Expanding a folder displays the menu options and their keyboard shortcuts (key sequences).
  - Key Sequence: This column contains the keyboard shortcuts for each menu option.
- Key Sequence: Change the key sequences for your keyboard shortcuts.
  - Ctrl, Shift, and Alt: Select any of these options to add the keys to your selected key sequence.
  - Key: Specify a single key (or character) that you want to use as the keyboard shortcut. You can use a specific key combination for only one menu option.
  - Confirm: Click to accept the specified key sequence. An error message displays when a key sequence already exists for another menu option or when the key sequence contains too many characters or invalid characters.