To Produce a Stackdump File

Restriction: This only applies to Linux platforms.

A stackdump file is not produced by default when a run-time system error occurs; to produce the file, the first tunable in this list needs to be set to 1:

  • stackdump_on_error - determines if a stackdump file is produced.
  • stackdump_filename - overrides the default name and location of a stackdump file. This tunable is optional.

You can set these on the command line using the methods described in Run-Time Tunables, or you can set them in the Eclipse IDE.

Note: For certain platforms, you can also generate a stackdump file using the CBL_CREATE_STACKDUMP library routine; see CBL_CREATE_STACKDUMP for more details.