Skip to content

SendMethodExit

Send method exit message.

Declaration

Source position: dbugintf.pp line 50

function SendMethodExit(const MethodName: string) : Boolean;

Arguments

Name Description
MethodName Name of the method that is entered.

Description

SendMethodExit sends a "Exiting MethodName" message to the debug server. After that it decreases the message indentation (currently 2 characters). By sending a corresponding SendMethodEnter, the indentation of messages can be increased again.

By using the SendMethodEnter and SendMethodExit methods at the beginning and end of a procedure/method, it is possible to visually trace program execution.

Note that the indentation level will not be made negative.

Errors

None.

See also

Name Description
SendDebug Send a message to the debug server.
SendMethodEnter Send method enter message.
SendSeparator Send a separator message.