'KCMLDebugBackProcess(MagickCookie$)

Send the request and magick cookie to debug the given process via Listening Unix Domain Socket.

Arguments

STR()MagickCookie$[in] The magick cookie to authenticate through the background process

Returns

The return value if the create process succeed

Syntax

The following definition is built into KCML. You do not have to include it in your own code.

$DECLARE 'KCMLDebugBackProcess(STR())

Remarks

KCMLDebugBackProcess is to open a new kclient given by a referred magick cookie, which will be linked to a back process.

Note this function is only for a signalled background process to be attached. 'KCML_Debug_Workbench is used to signal the background process.

Example

REM b$_KCML_PSTAT, cookie$64
b$ = $PSTAT(1024)
'KCML_Debug_Workbench(FLD(b$.PSTAT_ProcessId), FLD(b$.PSTAT_Partition), BYREF cookie$)
PRINT cookie$
'KCMLDebugBackProcess(cookie$)

Further Information

IntroducedKCML 7.03
CompatibilityKClient

See Also

KCMLClosePort, KCMLGetClientIP_TOS, KCMLOpenPort, KCMLReadPort, KCMLSetClientIP_TOS, KCMLWritePort, KCMLWritePortName

Index of internal $DECLARE functions