Skip to content

StartDebugServer

Start the debug server.

Declaration

Source position: dbugintf.pp line 65

function StartDebugServer(const ADebugServerExe: string=''; 
                         const ARaiseExceptionOnSendError: Boolean=False; 
                         const aLogFilename: string='') : Integer;

Arguments

Name Description
aLogFilename Log file for the debug server.

Function result

True if started successfully, false otherwise.

Description

StartDebugServer attempts to start the debug server. The process started is called debugserver and should be located in the PATH.

Normally this function should not be called. The SendDebug call will attempt to start the server by itself if it is not yet running.

Errors

On error, False is returned.

See also

Name Description
SendDebug Send a message to the debug server.
InitDebugClient Initialize the debug client.