Specifying a Run Directory

Related Topics:

Debugging a Program New to Sun WorkShop

You can specify a run directory when loading your program for debugging, and change the run directory any time after a program is loaded. When your program is being loaded, the directory you selected as the run directory is made the current working directory of the debugger.

To specify a run directory when loading a program:

1. In the Debug New Program Dialog Box, click Run Directory.

2. Type the directory name in the Run Directory text field or click the browse button to open a dialog box where you can select the directory name.

3. Click OK.

To change the run directory:

1. From the Debug menu, choose Edit Run Parameters to open the Edit Run Parameters Dialog Box.

2. Type the directory name in the Run Directory text box or click the browse button to open a dialog box where you can select the directory name.

3. Click OK.