To produce a core dump when debugging on site

In order to be able to animate the application with the cblcore file, the application must first be compiled for animation.

  1. Copy the file cblcored.exe from a subdirectory of your server directory, on your Net Express CD 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
  3. From the Core Dump list, select one of the following:

    Enabled with prompt if you want a message box displayed when a core dump is about to be created.

    Enabled with no prompt if you do not want a message box displayed when a core dump is about to be created.

    Disabled if you do not require a core dump.

    If you have selected one of the enabled options, the next time you run the application and an error occurs, the state of the application at the time of the error is saved in the file cblcore. This file is saved in the same folder as the application.

  4. Go to a machine that has Net Express installed and the cblcore file available, and run Net Express.
  5. Click Start Animating on the Animate menu.
  6. Specify cblcore in Filename.

    This opens the application and animates the relevant source program at the line where the error occurred.

Notes:

Related Topics: