Top
NetCOBOL V11.0 ISAPI Subroutines User's Guide
FUJITSU Software

5.2.1 Starting the Debugger

To start debugging an application using the debugger:

  1. Compile and link a Web application.

    Create a Web application with the compile and link options used for debugging specified. For information on compiling and linking a Web application for debugging, see the " NetCOBOL Debugging Guide."

  2. Set the run-time environment information.

    Before starting the debugger from a program to be debugged, you need to set the following run-time environment information. For information on setting the run-time environment information, see "ISAPI Subroutine Environment Variable Settings" in Chapter 4.

    @CBR_ATTACH_TOOL=TEST [start-parameter]

    This specifies that you wish to start the debugger (TEST) when a COBOL application is executed.

    Following "TEST", you can specify an optional debugger start parameter. For information on start parameters, see the " NetCOBOL Debugging Guide."

  3. Log on to the computer on which the Web application to be debugged is to be executed. Log on as the administrator because you may need to stop and start IIS services during debugging.

  4. Use a WWW Browser to start the Web application. The WWW Browser need not run on the computer on which the Web application is to be executed.

  5. When the Web application is started, the debugger is automatically started. After the debugger has started, access the [Start Debugging] dialog to specify debugging information file storage folders and necessary information to start debugging.