cobdebugremote

Syntax:

To start the cobdebugremote process, enter the following at a COBOL command prompt:

cobdebugremote option

Options:

no options
Starts the cobdebugremote process and opens a random port for remote connections. The port number is displayed in the console.
machine=name
Specify the machine that cobdebugremote is running on. Only valid with the stop option.
port
port=nnnnn
Specify the port to use to listen for connection requests.
port=nnnnn-yyyyy
Specify the range of ports to use. If port nnnnn is in use, the next port is tried until a free port is found. If no free ports are found in the range, the utility returns an error.
repeat
After the debug session has been completed, start listening for another connection. If no option is specified, cobdebugremote exits after the debug session has completed.
stop
Causes the cobdebugremote that is listening on the port to exit. Must be used with the port option. This is only valid when cobdebugremote is waiting for a connection.

Example

The following example starts the cobdebugremote process using port 45678 to listen for connection requests. After the debug session has been completed, the process starts listening for another connection.

cobdebugremote port=45678 repeat