« Back to Product

Documentation

IPS_DisableDebugFile

Require: Symcon >= 5.2

 bool IPS_DisableDebugFile (int $InstanceID) 

Parameters

InstanceID

Instance ID

Returns

If the function succeeds, it returns TRUE, otherwise FALSE.

Description

The function deactivates the writing of debug logs to a file for the instance with the ID InstanceID, after it was previously activated via IPS_EnableDebugFile.

If InstanceID is an object mirrored via Sync Remote, the function reports the error "Remote instances cannot be debugged". Debug messages of mirrored instances can only be displayed directly on the remote system.

Example

// Deactivates the writing of debug logs for instance 12345
IPS_DisableDebugFile(12345);
Any questions?