To create a core dump using the cblcored utility

  1. Copy the cblcored.exe file from the %ProgramFiles(x86)%\Micro Focus\Visual COBOL\bin directory to the same directory as your application's main executable file.
  2. At the command line, go to the directory containing cblcored.exe and type:
    cblcored
    Note: cblcored.exe requires write permission to the current user’s HKEY_CURRENT_USER key in the Windows registry. Ensure that the utility has the required permission in order for any changes to the Core Dump settings to persist.
  3. From the Core Dump list, select one of the following, and then click OK:
    Disabled
    No core dump is required (default).
    Enabled with prompt
    Display a message box when a core dump is about to be created.
    Enabled with no prompt
    Do not display a message box when a core dump is about to be created.
  4. Run the application. When the application crashes, a core dump is produced if you selected either of the Enabled... options. The name of the core dump file is cblcore, and it is located in the same folder as the application.
Note: cblcored.exe is one of the COBOL Server files, that is provided for on-site debugging. You are authorized to redistribute this file to your customers providing you have the appropriate license.