Previous Topic Next topic Print topic


Starting the CodeWatch Debugger

Start the CodeWatch debugger by doing one of the following:
From the Visual Studio IDE After creating the debug configuration for your project, right-click to select the project in the Solution Explorer and choose Debug > Start new instance , or Debug > Step into new instance.
From the Eclipse IDE After creating the debug configuration for your project, click the Debug button in the Debug Configurations dialog box. You can also select the project in the PL/I explorer and choose Run > Debug.

See Debugging a PL/I project for more on starting the CodeWatch debugger from the Eclipse IDE.

From the command line Execute the command cwcmd <program name> from the command line, or execute the command cwcmd by itself to attach to a currently running process. See The Command-line Interface for more on using the CodeWatch debugger's command-line interface.
Using plidebug.dat You can use plidebug.dat on Windows Enterprise Server to cause the PL/I run time to start the debugger automatically when your program starts.
Note: This is currently supported only on Windows platforms.

See Defining Debug Settings for more information on using the plidebug.dat to automatically start the debugger.

Call to PLITEST Use a call to the PLITEST built-in in the user program to start and attach the debugger. The call to PLITEST can be used at any point in the user program to invoke the debugger. See PLITEST for more information on the parameters used in the built-in for invoking the debugger and a code sample.
Previous Topic Next topic Print topic