To debug a COBOL application that has a project:
Eclipse opens the Debug perspective that provides views that facilitate debugging.
If the debugger steps on a line with an unassigned linkage item (for example, if you are debugging only a part of your application and no memory has been allocated to that linkage item), debugging terminates. To assign linkage to that data item and continue debugging, you need to select the data item, right-click it and click Inspect COBOL. When prompted, confirm and assign a value to the data item. Alternatively, to assign linkage, you can right-click the data item in the Variables view and click Change Value.
The following only applies to native COBOL code. To debug a single file which is opened in the IDE without a project, the file must be opened in the editor:
This starts debugging and the IDE switches to the Debug perspective.