Previous Topic Next topic Print topic


PLIDEBUG.DAT

The PLIDEBUG.DAT file contains settings defining whether the debugger should automatically attach when the program is executed or whether it should shut down when the program completes. It also contains an initial set of debugger commands that are executed when the debugger is attached.

PLIDEBUG.DAT is located in the installation directory. By default this is %ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x.
Note: The file is not there when you install the product, it appears when you first try to execute a job.
To view the file and edit it:
  1. From the Visual Studio IDE, click Start > All Programs > Micro Focus Studio Enterprise Edition x.x > Data Tools > Data File Tools.
  2. Browse to the installation directory of Open PL/I, select PLIDEBUG.DAT and click Open.
Find the lines of OPDEMO and OPDEMO2. They should look like this:
OPDEMO              Y Y shlib opdemo.dll; env opdemo; br %ENTRY; br %EXIT [det;q];c
OPDEMO2             Y Y shlib shlib opdemo2.dll; env opdemo2; br %ENTRY; br %EXIT [det;q];c
The Y in the first column indicates if the debugger will attach when the step starts. The Y in the second column shows if the debugger will shut down when the step ends.
Note: You still need to use the DETACH command.

The rest is a series of commands that will be issued to the debugger when it starts.

If the two lines are not there, you need to create them.

Note:
  • Make sure that the first Y is in the 21st column.
  • Always close down the editing session before you start debugging because otherwise the file will be locked and Enterprise Server won't access it.
Previous Topic Next topic Print topic