Restriction: This feature is supported on Red Hat Linux x86 platforms only. Additional restrictions apply. For details, see the
Reverse Debugging and Live Recording topic in the
Known Issues and Restrictions section of this documentation.
-
Click
.
-
Click
COBOL Application.
-
In the
Name field at the top of the right pane on the Run Configurations dialog box, type a name for your run configuration.
-
On the
General tab, supply the following:
- COBOL Project
- The project that contains the program you want to run.
- Main Program
- If applicable, ensure that
Program is part of project build configuration is checked, and that the name of the build configuration appears in the corresponding field. The field below should contain
the your project's output output path and main program to run.
-
On the
Environment tab, define the COB_LIVE_RECORD environment variable:
-
Click
Add.
-
In the
Variable field, type
COB_LIVE_RECORD.
-
In the
Value field, type the full path to (optional - default is your Eclipse workspace) and filename prefix for the output file you want
the Live Recorder to create when the program runs. For example:
/home/user/workspace/myrecordings/tictac
-
Run the application:
-
On the Run Configurations dialog box, click
Run.
-
Let the application run until it terminates normally.
-
From a terminal window or file browser, go to the directory you specified as the value for the COB_LIVE_RECORD environment
variable, and confirm that the output file has been created. The output filename takes the following form:
filePrefix.nnnn.mfr
Where
filePrefix is the filename prefix you specified for the COB_LIVE_RECORD environment variable and
nnnn is a generated process ID.