debugLogFilePath property

String get debugLogFilePath

If set to a file path, this property logs the LastErrorText of each Chilkat method or property call to the specified file. This logging helps identify the context and history of Chilkat calls leading up to any crash or hang, aiding in debugging.

Enabling the VerboseLogging property provides more detailed information.

This property is mainly used for debugging rare instances where a Chilkat method call causes a hang or crash, which should generally not happen.

Possible causes of hangs include:

  • A timeout property set to 0, indicating an infinite timeout.

  • A hang occurring within an event callback in the application code.

  • An internal bug in the Chilkat code causing the hang.

Implementation

String get debugLogFilePath =>
    _toDartString(_CkDtObj_get_DebugLogFilePath(_handle));
set debugLogFilePath (String value)

Implementation

set debugLogFilePath(String value) {
  final h = _handle;
  using(
    (arena) =>
        _CkDtObj_put_DebugLogFilePath(h, _toNative(arena, value, 'value')),
  );
}