# 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: Specify how tabs display in the Source window and set the speed for detecting double-clicks.

> Maximum number of lines

> > Select the number of lines that you want to display at one time. The default is 5000. When the source file is larger than the maximum number of lines, PASE Debugger can display the entire file, but only in sections as big as the specified number of lines. For larger source files, selecting a larger number may increase the time required to download the source code from the host.

> 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.

Program completion dialog enabled: Disables the Attention dialog that notifies you when a program has finished running. When you select this option, the notification displays only in the status field at the bottom of the PASE Debugger window.

## 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 PASE 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 column: This column contains a hierarchy that represents the PASE Debugger menus. Expanding a folder displays the menu options and their keyboard shortcuts (key sequences).

Key Sequence column: 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