UpDebugging a COBOL Program > UpDebugging COBOL Projects Previous Next

Local Debugging

In local debugging, the debugger runs concurrently with the program being debugged
and performs local debugging using the COBOL application launch configuration.

+ Local debugging of a COBOL program

The procedure for starting debugging is explained below.

  1. Select a COBOL project from the Navigator or Dependency view.
  2. Select [Run] > [Debug...] from the menu bar or click on run image. The [Debug] dialog is displayed.

image

  1. Select [COBOL Application] from the left pane.
  2. Click [New]. The launch configuration setting page is displayed in the right pane.
  3. The default launch configuration name is displayed at [Name:]. You can change it to any name you want.
  4. Click the [Main] tab.
  5. Enter the COBOL project name in [Project name:], or click [Browse] and select the COBOL project.
  6. If the target of the specified project is a dynamic link library, specify an executable file in [Executable File:].
  7. Specify the runtime folder in [Working folder:]. You can store the dynamic link library required for program execution in this folder so that it can be loaded during execution.
  8. Enter parameters in the specified format on the command line in
  9. [Program arguments].
  10. Click [Debug] to start debugging.

image

Select a project from the Dependency view, and select [Debug] > [Debug As] > [COBOL Application] from the menu bar. This can start debugging under the default settings.

+COBOL application launch configuration setting items

This section explains the COBOL application launch configuration setting items, excluding those on the main tab.

++[Source] tab

Specify the source search path. The debugger searches sources in the order that they are displayed in [Source lookup path:]. Projects and folders can be added to the search paths. You can change the order of the search paths by clicking [Up] or [Down].


image

image

If there is a dependency of a dynamic link library, use
[Add Projects...] to add the dynamic link library project from the workspace or use [Add External Folders...] to add the dynamic link library project as an external folder (outside workspace).

++[Common] tab

Specify the launch configuration information save mode and the perspective that is opened following the start of execution or debugging.
For details, refer to the description about the common tab in "exe3_cob.doc"


Previous Next

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2003-2005