PowerAda Setting Your Preferences

From OC Systems Wiki!
Jump to: navigation, search


The preferences dialog allows you to customize the debugger to operate as you would like it. You can set the following fields:

Editor

This is the editor that will be used for all editing operations. Setting the editor affects both powerada and the debugger.

By default, there are two preset editors, xemacs and vi.

If you wish to use an editor other than those in the list, select Other and use the typein box to enter the command line you want to run for edit operations. Use the following fields in your command line:

%FILENAME: the filename is substituted everywhere this appears.

%LINE: the line number at which the editor should start is substituted everywhere this variable appears.

For example, here is the command line used for vi:

xterm -title %FILENAME -e vi +%LINE %FILENAME

Note that this command line runs vi in an xterm -- this is very important. Command-line based editors will not work unless you run them in an xterm or aixterm.

Help Viewer

This is the HTML browser that will be used for displaying the online documentation. Setting the Help Viewer affects both powerada and the debugger.

By default, there are two preset browsers, Xmosaic and Netscape.

If you wish to use a browser other than those in the list, select Other and use the typein box to enter the command line you want to run for browsing operations.

Other

The only option listed here is the Prompt before quitting toggle button. If this option is selected, a confirmation dialog is displayed when Quit Debugger is selected.